Describe the problem/error/question
I have a separate workflow which uses ChatGPT to summarise news articles, then pushes the summary plus the article metadata to Pinecone to store as embeddings:
An example of the content pushed to Pinecone:
I created a second workflow which would run at 6am and create a summary of the key points from the last 24 hours’ content in the Vector database:
What is the error message (if any)?
This workflow will frequently respond with something like "It seems I’m unable to retrieve the latest cybersecurity news summaries at this time. However, you can stay informed about recent incidents and trends by checking reputable cybersecurity news sources like Krebs on Security, Threatpost, or the Cybersecurity & Infrastructure Security Agency (CISA).
If you have specific incidents or topics in mind, I can assist you with details or provide guidance based on existing knowledge. Let me know how you would like to proceed!"
My understanding of the workflow I’ve set up is that it should just be referencing the data sent to Pinecone, but it seems to think it needs to reference outside sources and isn’t using the Vector Store I’ve connected it to.
Looking at the Vector Store Tool2 node, the input (what I presume is what the AI Agent node is providing to the vector store as a query) is very basic (e.g. “Provide a summary of the latest cybersecurity news and incidents over the past 24 hours.”) and the response from the connected Model in the 3 runs it attempted is “I don’t know.”
Clicking through to the connected OpenAI Chat Model1 node, it’s clear the content from the Vector Store is being provided along with the question, but the Model still only replies “I don’t know.”
Please share your workflow
See above
Share the output returned by the last node
It seems I’m unable to retrieve the latest cybersecurity news summaries at this time. However, you can stay informed about recent incidents and trends by checking reputable cybersecurity news sources like Krebs on Security, Threatpost, or the Cybersecurity & Infrastructure Security Agency (CISA).
If you have specific incidents or topics in mind, I can assist you with details or provide guidance based on existing knowledge. Let me know how you would like to proceed!
I expected that workflow should reference the embeddings in the Vector Database and create a summary using ChatGPT of the contents, but it seems to be interpreting the prompt as a request to resolve external resources, despite being provided the content by the Vector Store.
Information on your n8n setup
- n8n version: 1.77.3
- Database (default: SQLite): Default
- n8n EXECUTIONS_PROCESS setting (default: own, main): Default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Windows 11 Pro