Skip to content

Commit

Permalink
Message about Pinecone initializing (Significant-Gravitas#1194)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas Tindle <[email protected]>
Co-authored-by: Richard Beales <[email protected]>
  • Loading branch information
3 people committed May 1, 2023
1 parent 34261a1 commit 9c56b1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autogpt/memory/pinecone.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ def __init__(self, cfg):
exit(1)

if table_name not in pinecone.list_indexes():
logger.typewriter_log(
"Connecting Pinecone. This may take some time...", Fore.MAGENTA, ""
)
pinecone.create_index(
table_name, dimension=dimension, metric=metric, pod_type=pod_type
)
Expand Down

0 comments on commit 9c56b1b

Please sign in to comment.