Find answers from the community

Updated 3 weeks ago

Template

Hello, I switched from QueryEngine tool to RetrieverTool for my agent, and was surprised that the text template and metadata template are overriden.

Im thinking about overriding that behavior, but just curious if there was specific reason for it that im not aware of

https://github.com/run-llama/llama_index/blob/main/llama-index-core/llama_index/core/tools/retriever_tool.py#L117
L
g
2 comments
Hmm, i think that's just a bug, should be respected. Definitely feel free to make a pr

Although workaround would be just making your own FunctionTool that does the same thing
Sure will do, and in the time ill do the workaround
Add a reply
Sign up and join the conversation on Discord