N8n AI RAG Agent responds with incorrect message inspite of correct data received from the vector database

Describe the problem/error/question

Ai agent sending incorrect message inspite of receiving correct data from the vector datbase - pinecone

What is the error message (if any)?

No error message — just incorrect data response

Please share your workflow


(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

We have architects in our business directory. the pinecone vector tool returns the name of the architect (As highlighted). The ai agent however responds stating no data. in some cases the ai responds correctly whereas in some cases it doesnt inspite of the vector database giving the correct output.

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Denesh_Mutha , try using the Pinocone Vector Store directly connected to AI Agent, like this:

You can also learn from this official Demo template, made by the n8n team:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.