Find answers from the community

Updated 9 months ago

@Logan M I’m working off the Mistral

@Logan M I’m working off the Mistral Adaptive RAG example to build a multi document search. Is there a way to use the tool retriever with RouterQueryEngine to return a subset of relevant tools based off the query in a similar way to using the tool_retriever property in FunctionCallingAgentWorker?
L
A
2 comments
You could first retrieve the tools, then create the router on the fly.

You should be able to use an object index for retrieving the tools
Ok thanks thats actually my workaround. I wanted to make sure there wasn’t a more streamlined option I was missing.
Add a reply
Sign up and join the conversation on Discord