From ccacf804a84548a50502b7d64d683a41e329b2ef Mon Sep 17 00:00:00 2001 From: Peter Stolz <50801264+PeterStolz@users.noreply.github.com> Date: Fri, 14 Apr 2023 17:53:02 +0200 Subject: [PATCH] Fix format string in pinecone error handling (#2897) --- langchain/vectorstores/pinecone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/vectorstores/pinecone.py b/langchain/vectorstores/pinecone.py index f06c5b9f..cc2169ac 100644 --- a/langchain/vectorstores/pinecone.py +++ b/langchain/vectorstores/pinecone.py @@ -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):