Interactive pdf querying by simply highlighting

I’m about to go over ~100 pages of course notes for a class, and think it would be awesome if ChatGPT had a feature where you could upload a single potentially large pdf, and query various parts just by highlighting the parts you want to ask about. Eg asking for a summary or for anything related to topic X. ChatGPT will have already looked at the whole pdf, but then you simply highlight to prompt it about a more specific piece of text. I think this would make learning from textbooks etc feel a lot easier!