patterns-ai-core / langchainrb

Build LLM-powered applications in Ruby
https://rubydoc.info/gems/langchainrb
MIT License
1.3k stars 181 forks source link

Support pinecone ~> 1.0 #662

Open night91 opened 3 months ago

night91 commented 3 months ago

Describe the solution you'd like We could suport latest pinecone major release 1.0 to support new V2 API.

For the moment it seems to work with 1.0 client = Langchain::Vectorsearch::Pinecone.new(environment: "api", api_key: "API_KEY", index_name: "INDEX_NAME", llm: llm)