Fix format string in pinecone error handling (#2897)

This commit is contained in:
Peter Stolz 2023-04-14 17:53:02 +02:00 committed by GitHub
parent 86189cdcf9
commit ccacf804a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,7 +218,7 @@ class Pinecone(VectorStore):
else:
raise ValueError(
f"Index '{index_name}' not found in your Pinecone project. "
"Did you mean one of the following indexes: {', '.join(indexes)}"
f"Did you mean one of the following indexes: {', '.join(indexes)}"
)
for i in range(0, len(texts), batch_size):