Skip to content

Commit

Permalink
feat: add sourceTag for pinecone (#117)
Browse files Browse the repository at this point in the history
Because

- pinecone needs to track the activities

This commit

- add instillai to SourceTag
  • Loading branch information
chuang8511 committed May 13, 2024
1 parent 80c4780 commit b202da1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/connector/pinecone/v0/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func newClient(config *structpb.Struct, logger *zap.Logger) *httpclient.Client {
)

c.SetHeader("Api-Key", getAPIKey(config))
c.SetHeader("User-Agent", "source_tag=instillai")

return c
}
Expand Down

0 comments on commit b202da1

Please sign in to comment.