langchain.js
    Preparing search index...
    interface ContentBlock {
        id?: string;
        type: string;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown

      Arbitrary properties

    Index

    Properties

    Properties

    id?: string

    Content block identifier, which can be either

    • generated by the provider (e.g., a provider-specific ID)
    • generated by LangChain upon creation (a uuid prefixed with 'lc-')
    type: string

    Type of the content block