Describe the problem/error/question
Hello! I’m attempting to use the Pincone Vector Store node for the first time, and I’m running into an error:
Cannot read properties of undefined (reading ‘toString’)
I used python to load my data into the Pincone Vector Store using text-embedding-ada-002.
Here’s an example execution:
Note: This question seems to have been asked before, but I’m not following the OP’s logic.
What is the error message (if any)?
Cannot read properties of undefined (reading ‘toString’)
Here’s the error printed on the console:
Press "o" to open in Browser.
TypeError: Cannot read properties of undefined (reading 'toString')
at PineconeStore._formatMatches (C:\Users\Bret\AppData\Roaming\nvm\v18.17.0\node_modules\n8n\node_modules\@langchain\pinecone\dist\vectorstores.cjs:357:50)
at PineconeStore.similaritySearchVectorWithScore (C:\Users\Bret\AppData\Roaming\nvm\v18.17.0\node_modules\n8n\node_modules\@langchain\pinecone\dist\vectorstores.cjs:376:30)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.execute (C:\Users\Bret\AppData\Roaming\nvm\v18.17.0\node_modules\n8n\node_modules\@n8n\n8n-nodes-langchain\nodes\vector_store\shared\createVectorStoreNode.ts:262:19)
at Workflow.runNode (C:\Users\Bret\AppData\Roaming\nvm\v18.17.0\node_modules\n8n\node_modules\n8n-workflow\src\Workflow.ts:1382:8)
at C:\Users\Bret\AppData\Roaming\nvm\v18.17.0\node_modules\n8n\node_modules\n8n-core\src\WorkflowExecute.ts:1080:27
at C:\Users\Bret\AppData\Roaming\nvm\v18.17.0\node_modules\n8n\node_modules\n8n-core\src\WorkflowExecute.ts:1800:11 undefined
Thank you for any assistance!
Please share your workflow
Share the output returned by the last node
{
"response": [
0.0062487745,
-0.0032739588,
0.0033504067,
-0.034381554,
0.0012705288,
0.010323773,
-0.029036857,
... etc
Information on your n8n setup
- n8n version: 1.60.1
- Database (default: SQLite): Default
- n8n EXECUTIONS_PROCESS setting (default: own, main): Default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Locally via command line: n8n start
- Operating system: Window 11