tmc / langchaingo

LangChain for Go, the easiest way to write LLM-based programs in Go
https://tmc.github.io/langchaingo/
MIT License
4.41k stars 598 forks source link

Pinecode Vector DB API needs to be updated #761

Open patimen opened 6 months ago

patimen commented 6 months ago

Pinecone seems to have updated their API's, and the current implementation of Pinecone Vector DB doesn't work. Or requires a configuration that is no longer available to new users. Specifically, the URL format in the Pinecone API in restapi.go getEndpoint doesn't map at all to url's in Pinecone currently, which need to be retrieved from an API. There may be other changes, I haven't gotten into it. Let me know if you'd need help, I might have some time to do some of this.