Skip to content
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

Pinecone dimensions error #10

Open
StraylightRunner opened this issue Feb 17, 2024 · 0 comments
Open

Pinecone dimensions error #10

StraylightRunner opened this issue Feb 17, 2024 · 0 comments

Comments

@StraylightRunner
Copy link

Hello,
I'm running the repo locally but when ingesting a new pdf file I'm getting this error:

PineconeBadRequestError: Vector dimension 768 does not match the dimension of the index 728

I have created a Pinecone index with 728 dimensions though:
Screenshot 2024-02-17 at 17 36 22

and have set the PINECONE_API_KEY and PINECONE_INDEX_NAME environment variables in the .env file.

The error is thrown when running the 'await PineconeStore.fromDocuments' method

I would appreciate any help or pointers towards the right direction!

Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant