Skip to content

Commit

Permalink
Add missing close
Browse files Browse the repository at this point in the history
  • Loading branch information
hupe1980 committed Sep 17, 2023
1 parent e1dc572 commit d76f9e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/pinecone_vectorstore/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func main() {
if err != nil {
log.Fatal(err)
}
defer client.Close()

vs, err := vectorstore.NewPinecone(client, openai, "textKey", func(po *vectorstore.PineconeOptions) {
po.TopK = 1
Expand Down

0 comments on commit d76f9e6

Please sign in to comment.