Skip to content

Langchain Cookbook Part 1: The VectorStore object not used in the VectorStores section #32

@SwamiKannan

Description

@SwamiKannan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions