Tell me how to make sure that the tool is used for every request and communication with the AI agent. I tried different approaches, wrote promt in different ways - but nothing worked. Sometimes it uses a knowledge base tool, and sometimes it doesn’t. Is there a way to force the use of the tool? Or another option. Share, I will be grateful.
It looks like your topic is missing some important information. Could you provide the following if applicable.
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
@Mikhail1 Have you added a description to the vector store tool or added the instruction to use the tool in the prompt? The agent may not be clear on when to use the tool, while it’s aware of the tool it helps to put a description or add instruction to the prompt for cases to use the tool.
I had the same thing when I had a custom workflow and the agent didn’t always access it. Putting in a description solved it, but also helps if you put an instruction in the agent’s prompt.
Yes, I wrote instructions inside the AI assistant, and in the tool description too. But the AI assistant still uses this tool whenever it wants, even though I told it to always use it.
n8n: 1.78.1
Docker
Did you ever get this working? I’m running into a similar issue. The only other thing I can think of is to send chat queries and see what the AI tags it with and include those in the description. Even though I already have the tags, maybe there are some I’m not using. Idk.