Closed vgkids closed 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.
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.mdMoving 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.