RAG Day 8 ... and here we go again with obstacles
Today I thought I would finally build something simple.The goal was easy. Just send a basic message from n8n to Pinecone, talk to the assistant and get a response from the patent document. That was the plan.And of course, it didn’t go that way. I set up the manual trigger, added the AI Agent node, connected the model, added the HTTP request to Pinecone and expected everything to run smoothly. But no.The first thing I got was an error from the AI Agent node: This model is not supported in version 2.2 of the Agent node. I had no idea why. I tried different things, tested several setups, switched models and still no luck. In the end I used OpenRouter.And suddenly it worked. I still don’t really know why this fixed it. It just cost a lot of time and nerves. The next problem was the system prompt, it took longer than expected because the AI Agent refused to call Pinecone. It kept acting weird and simply didn’t follow the instructions. But eventually I got it to work.I can now chat with the document inside Pinecone through the assistant. This took way more than one hour. More as i had planned and the system prompt still gives me trouble. Sometimes it works, sometimes it doesn’t, and I can’t explain why yet. But at least something is working now. But my question,.... Why? I will continue you can be sure