Managing large query with RAG

Hello,

I am building application where I need to retrieve relevant docs for given text, the text might be 6000 chars / 1000 words. What approaches would you suggest to use RAG? How should I chunk and search each part of text or summarize it first and then run query?

Welcome to the Forum!

Could you elaborate a little bit more on the specifics of what you are looking to achieve? What, if anything, have you tried so far?