Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Added source_tag='canopy' to knowledge_base._get_global_client()
Browse files Browse the repository at this point in the history
…to send the attribution tag for Canopy when initializing the connection.
  • Loading branch information
cwaddingham committed Jun 17, 2024
1 parent 1059e9e commit 48b8cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/canopy/knowledge_base/knowledge_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

@lru_cache(maxsize=1)
def _get_global_client() -> Pinecone:
return Pinecone()
return Pinecone(source_tag="canopy")


def list_canopy_indexes(pinecone_client: Pinecone = None) -> List[str]:
Expand Down

0 comments on commit 48b8cdb

Please sign in to comment.