stanfordnlp / dspy

DSPy: The framework for programming—not prompting—foundation models
https://dspy-docs.vercel.app/
MIT License
16.74k stars 1.29k forks source link

pinecone_rm for serverless indexes #1346

Open kakkaya0 opened 1 month ago

kakkaya0 commented 1 month ago

As of January 2024, serverless pinecone indexes don't have an environment variable and it is not possible to run the PineconeRM method without an environment variable at the moment.

Are you aware of the issue?

arnavsinghvi11 commented 1 month ago

Hi @kakkaya0 , feel free to open a PR to set this.

From the current implementation, PineconeRM would just leave the api_key empty and load in the relevant index, but I am not aware of Pinecone internals so feel free to adjust accordingly.