-
Notifications
You must be signed in to change notification settings - Fork 308
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
Can't get past injestion #94
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have checked the other discussions:
OpenAPI balance is OK .. it is being called requests are logged
PineCone configuration appears OK
And env file matches
OPENAI_API_KEY=sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXZ1NSYgnmHuCOufxWBlYY
Update these with your pinecone details from your dashboard.
PINECONE_INDEX_NAME is in the indexes tab under "index name" in blue
PINECONE_ENVIRONMENT is in indexes tab under "Environment". Example: "us-east1-gcp"
PINECONE_API_KEY="5ccca27d-8340-43ac-bd9d-XXXXXXXXXXXXX"
PINECONE_ENVIRONMENT="us-east-1"
PINECONE_INDEX_NAME="areports"
However get this error
},
Document {
pageContent: 'f',
metadata: {
source: 'C:\Users\User\Documents\GitHub\gpt4-pdf-chatbot-langchain\docs\Annual Reports 1965-1966.pdf',
pdf: [Object],
loc: [Object]
}
}
]
creating vector store...
error TypeError: Cannot read properties of undefined (reading 'text')
at (c:\Users\User\Documents\GitHub\gpt4-pdf-chatbot-langchain\node_modules@pinecone-database\pinecone\dist\errors\utils.js:44:57)
at step (c:\Users\User\Documents\GitHub\gpt4-pdf-chatbot-langchain\node_modules@pinecone-database\pinecone\dist\errors\utils.js:33:23)
at Object.next (c:\Users\User\Documents\GitHub\gpt4-pdf-chatbot-langchain\node_modules@pinecone-database\pinecone\dist\errors\utils.js:14:53)
at (c:\Users\User\Documents\GitHub\gpt4-pdf-chatbot-langchain\node_modules@pinecone-database\pinecone\dist\errors\utils.js:8:71)
at new Promise ()
at __awaiter (c:\Users\User\Documents\GitHub\gpt4-pdf-chatbot-langchain\node_modules@pinecone-database\pinecone\dist\errors\utils.js:4:12)
at extractMessage (c:\Users\User\Documents\GitHub\gpt4-pdf-chatbot-langchain\node_modules@pinecone-database\pinecone\dist\errors\utils.js:40:48)
at (c:\Users\User\Documents\GitHub\gpt4-pdf-chatbot-langchain\node_modules@pinecone-database\pinecone\dist\errors\handling.js:66:70)
at step (c:\Users\User\Documents\GitHub\gpt4-pdf-chatbot-langchain\node_modules@pinecone-database\pinecone\dist\errors\handling.js:33:23)
at Object.next (c:\Users\User\Documents\GitHub\gpt4-pdf-chatbot-langchain\node_modules@pinecone-database\pinecone\dist\errors\handling.js:14:53)
c:\Users\User\Documents\GitHub\gpt4-pdf-chatbot-langchain\scripts\ingest-data.ts:46
throw new Error('Failed to ingest your data');
^
Error: Failed to ingest your data
at run (c:\Users\User\Documents\GitHub\gpt4-pdf-chatbot-langchain\scripts\ingest-data.ts:46:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at (c:\Users\User\Documents\GitHub\gpt4-pdf-chatbot-langchain\scripts\ingest-data.ts:51:3)
Node.js v19.2.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: