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
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