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_ENVIRONMENT is deprecated #5

Closed
vgkids opened this issue Feb 1, 2024 · 1 comment
Closed

PINECONE_ENVIRONMENT is deprecated #5

vgkids opened this issue Feb 1, 2024 · 1 comment

Comments

@vgkids
Copy link

vgkids commented Feb 1, 2024

When signing up for a new Pinecone account, a value for PINECONE_ENVIRONMENT is no longer provided:
https://github.com/pinecone-io/pinecone-ts-client/blob/main/v2-migration.md

Moving to version 2.0.1 of @pinecone-database/pinecone allows you to use the new keys provided, with a few minor changes to pinecone-db.ts.

@vgkids vgkids mentioned this issue Feb 1, 2024
2 tasks
@adhityan
Copy link
Collaborator

adhityan commented Feb 7, 2024

I have addressed this in version 0.57. You can now provide an indexSpec parameter to the PineconeDb constructor that specifies the details of the new index. The environment variable PINECONE_ENVIRONMENT is not required.

@adhityan adhityan closed this as completed Feb 7, 2024
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

Successfully merging a pull request may close this issue.

2 participants