langchain.js
    Preparing search index...
    PlainText: ContentBlock.Multimodal.Data & {
        context?: string;
        text?: string;
        title?: string;
        type: "text-plain";
    }

    Content block for plain text data

    Type Declaration

    • Optionalcontext?: string

      Context for the text, e.g. a description or a summary of the text's content

    • Optionaltext?: string

      Plaintext content. This is optional if the data is base64 encoded.

    • Optionaltitle?: string

      Title of the file, e.g. the title of a document

    • Readonlytype: "text-plain"

      Type of the content block