-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error TypeError: Cannot read properties of undefined (reading 'text') when run npm run ingest #470
Comments
Please help me, I have a report related to this |
Hello, I have fixed it |
how to see the pinecone index's environment |
Im facing the same error @mayooear can you take a look at this please ? |
I was able to fixe the issue by using the individual Langchain packages
Check out a sample implementation https://github.com/arpeiks/gpt-langchain |
run this command to update the package and it solves this issue for me: |
creating vector store...
error TypeError: Cannot read properties of undefined (reading 'text')
at (d:\demo\node_modules@pinecone-database\pinecone\dist\errors\utils.js:44:57)
at step (d:\demo\node_modules@pinecone-database\pinecone\dist\errors\utils.js:33:23)
at Object.next (d:\demo\node_modules@pinecone-database\pinecone\dist\errors\utils.js:14:53)
at (d:\demo\node_modules@pinecone-database\pinecone\dist\errors\utils.js:8:71)
at new Promise ()
at __awaiter (d:\demo\node_modules@pinecone-database\pinecone\dist\errors\utils.js:4:12)
at extractMessage (d:\demo\node_modules@pinecone-database\pinecone\dist\errors\utils.js:40:48)
at (d:\demo\node_modules@pinecone-database\pinecone\dist\errors\handling.js:66:70)
at step (d:\demo\node_modules@pinecone-database\pinecone\dist\errors\handling.js:33:23)
at Object.next (d:\demo\node_modules@pinecone-database\pinecone\dist\errors\handling.js:14:53)
d:\demo\scripts\ingest-data.ts:46
throw new Error('Failed to ingest your data');
^
Error: Failed to ingest your data
at run (d:\demo\scripts\ingest-data.ts:46:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at (d:\demo\scripts\ingest-data.ts:51:3)
Node.js v19.8.1
#My code :
The text was updated successfully, but these errors were encountered: