You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] Being able to create multiple Client instances with different api_key #213
Is this your first time submitting a feature request?
I have searched the existing issues, and I could not find an existing issue for this feature
I am requesting a straightforward extension of existing client functionality
Describe the feature
Hi, in my app, i need to connect to two different pinecone accounts with different api_key. I don't find a way to do it with this lib with pinecone.init. Did i miss something? If not, can we add that as a feature?
@minzhang-haus Do you intend to connect to both the accounts simultaneously?
If I'm thinking in the right direction, you can definitely have 2 different accounts with 2 different api keys.
You can continue to use the pinecone.init to create indexes individually for both the accounts depending on their unique API keys and environments.
Happy to discuss further into the details of the issue
Note that as of v3.0.0, the client has moved away from global state variables to Pinecone class instances, which allows you to maintain multiple instances.
Activity
SID262000 commentedon Nov 28, 2023
@minzhang-haus Do you intend to connect to both the accounts simultaneously?
If I'm thinking in the right direction, you can definitely have 2 different accounts with 2 different api keys.
You can continue to use the pinecone.init to create indexes individually for both the accounts depending on their unique API keys and environments.
Happy to discuss further into the details of the issue
daverigby commentedon May 3, 2024
Note that as of v3.0.0, the client has moved away from global state variables to
Pineconeclass instances, which allows you to maintain multiple instances.For example:
References:
feat(db_data): namespace name/limit/schema constraints, describe 404/…
feat(db_data): namespace name/limit/schema constraints, describe 404/…