llm-tools / embedJs

A NodeJS RAG framework to easily work with LLMs and embeddings
https://llm-tools.mintlify.app/get-started/introduction
Apache License 2.0
334 stars 40 forks source link

PINECONE_ENVIRONMENT is deprecated #5

Closed vgkids closed 9 months ago

vgkids commented 9 months ago

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.

adhityan commented 9 months ago

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.