You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the section for VectorStores (under Indexes), the embeddings of the text are created using embeddings.embed_documents()
but the vectorstore (FAISS) class is imported but not used as: db = FAISS.from_documents(texts, embeddings).
Maybe the section should include creation of the vectorstore and its usage
The text was updated successfully, but these errors were encountered:
SwamiKannan
changed the title
Langchain Cookbook Part 1: The VectorStore object not used in the VectorStores module
Langchain Cookbook Part 1: The VectorStore object not used in the VectorStores section
May 28, 2023
Thanks for the cookbook. Pretty insightful.
In the section for VectorStores (under Indexes), the embeddings of the text are created using
embeddings.embed_documents()
but the vectorstore (FAISS) class is imported but not used as:
db = FAISS.from_documents(texts, embeddings)
.Maybe the section should include creation of the vectorstore and its usage
The text was updated successfully, but these errors were encountered: