langchain.js
    Preparing search index...

    Type Alias RetrieverOutput

    RetrieverOutput: { metadata?: KVMap; page_content: string; type: "Document" }[]

    Represents the expected output schema returned by traceable or by run tree output for LangSmith to correctly display documents in the UI