This commit is contained in:
Harrison Chase committed 2023-04-11 21:08:30 -07:00
1 parent 251b38e3f2
commit 2d2c4e8dd0
1 file changed
+2
+2
View File
@@ -54,6 +54,8 @@ class Pinecone(VectorStore):
if isinstance(embeddings, Embeddings):
self._embeddings = embeddings
else:
# This is for backwards compatibility issues. Previously,
# embeddings.embed_query was passed in, not the whole class
warnings.warn(
"passing a function as embeddings is deprecated, "
"you should pass an Embedding object directly. "