Find answers from the community

Updated 7 months ago

Query

Hi all, just a quick question, why do we not allow FunctionTool to be used in QueryPlanning here(https://docs.llamaindex.ai/en/stable/examples/agent/openai_agent_query_plan/?h=query+planning) ? Is there any way i can inherit FunctionTool to give it the expected capabilities of a QueryEngineTool to allow this to work?
L
A
2 comments
The query plan thing is hyper focused on query engines (which is easier because they all accept a single string input). Function tools have arbitrary inputs

Feel free to check out the source code an make your own version though
Yep on it! Thanks @Logan M πŸ™‚
Add a reply
Sign up and join the conversation on Discord