Skip to content

Commit

Permalink
Update pinecone.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutoshkataria19 authored Apr 18, 2023
1 parent 5752a46 commit 90a8049
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autogpt/memory/pinecone.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ 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 90a8049

Please sign in to comment.