What is your goal?
creat ai agent for resturants
What is the problem & what have you tried?
make ai agent do not call tools or knowledge base(PDF) file. want solution
Error messages or input/output bundles
make ai agent do not call tools or knowledge base(PDF) file
Hello,
Could you elaborate a bit more and share what you’ve already built?
Agents use knowledge and call tools as needed. You can try to force them to do so in the agent’s instructions, but in the end the tool choice is still up to the “agent”.
If you always need the tool to run and its output to be used, don’t leave that decision to the agent. Add the related modules before the agent in your scenario (e.g. the knowledge base search or the tool itself) and pass their output as the agent’s input.
Have a nice day,
Michal
Here are three things that can cause this:
- The agent will determine if the pdf is a tool or the knowledge file by name and description. Don’t have them generic, such as just “menu.pdf”.
- Guide them in their application: "If ever in doubt about any menu, price or opening time, refer to the knowledge base before responding and if there isn’t any, state that you don’t know.
- If you are not able to select and copy the text in the PDF, please convert it to a text PDF or paste it into a document and upload that.