and it just shows me my vacation pic of that description and gives other candidate answers.
Is something like that there already?
If it isn't: request for startup :)
1. summaries of document 2. tags for document
then save it to db and you can search directly or even concat all summaries and ask open ai api again for search.
you can not send document directly to chatgpt, instead of that, extract text from it with apache tika. and of course, you need a bunch of requests.