Message about Pinecone initializing (#1194)
Co-authored-by: Nicholas Tindle <nick@ntindle.com> Co-authored-by: Richard Beales <rich@richbeales.net>pull/3489/head^2
parent
34261a1583
commit
9c56b1beef
|
@ -38,6 +38,9 @@ class PineconeMemory(MemoryProviderSingleton):
|
|||
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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue