langchain.js
    Preparing search index...

    Class for retrieving information from a Zep long-term memory store. Extends the BaseRetriever class.

    const retriever = new ZepRetriever({
    url: "http:
    sessionId: "session_exampleUUID",
    topK: 3,
    });
    const query = "Can I drive red cars in France?";
    const docs = await retriever.getRelevantDocuments(query);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    lc_namespace: string[] = ...
    zepClientPromise: Promise<ZepClient>

    Accessors

    • get lc_aliases(): undefined | { [key: string]: string }

      Returns undefined | { [key: string]: string }

    • get lc_secrets(): undefined | { [key: string]: string }

      Returns undefined | { [key: string]: string }

    Methods

    • Retrieves the relevant documents based on the given query.

      Parameters

      • query: string

        The query string.

      Returns Promise<Document[]>

      A promise that resolves to an array of relevant Document objects.

    • Returns string