mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-21 22:29:51 +00:00
Fix format string in pinecone error handling (#2897)
This commit is contained in:
parent
86189cdcf9
commit
ccacf804a8
@ -218,7 +218,7 @@ class Pinecone(VectorStore):
|
|||||||
else:
|
else:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"Index '{index_name}' not found in your Pinecone project. "
|
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):
|
for i in range(0, len(texts), batch_size):
|
||||||
|
Loading…
Reference in New Issue
Block a user