tmc / langchaingo

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

Support Context Pinecone #918

Open gildemberg-santos opened 1 week ago

gildemberg-santos commented 1 week 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 days ago

how I can reproduce it?