@jerryjliu0 i tried it and changing the agent to “zero-shot-react-description” I’m obtaining better results based on the text. I’m taking inspiration from this one:
https://langchain.readthedocs.io/en/latest/modules/agents/examples/agent_vectorstore.html My goal is to use a router (unfortunately using GPTTreeIndex is impossible cause I can’t summarize all my docs, they are too much and I would lose too details) for searching and combine/refine the answer based on the texts.
However, when I use LLMPredictor and a query on the GPTSimpleVectorIndex i get the best answer! (Is it due to the prompt engineering?)
How can I combine all this methods? Sorry, it’s a tricky question