tmc / langchaingo

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

Support Context Pinecone #918

Open gildemberg-santos opened 5 months ago

gildemberg-santos commented 5 months ago

https://github.com/tmc/langchaingo/blob/d44ea4436ae92fc5b957e4b6fac8be0b5fd5f1ba/vectorstores/pinecone/pinecone.go#L159

..\..\go\pkg\mod\github.com\tmc\langchaingo@v0.1.11\vectorstores\pinecone\pinecone.go:159:3: cannot use &ctx (value of type *context.Context) as context.Context value in argument to indexConn.QueryByVectorValues: *context.Context does not implement context.Context (type *context.Context is pointer to interface, not interface)

devalexandre commented 4 months ago

how I can reproduce it?