langchain.js
    Preparing search index...

    Interface UIMessage<TName, TProps>

    interface UIMessage<
        TName extends string = string,
        TProps extends Record<string, unknown> = Record<string, unknown>,
    > {
        id: string;
        metadata?: {
            merge?: boolean;
            message_id?: string;
            name?: string;
            run_id?: string;
            tags?: string[];
            [key: string]: unknown;
        };
        name: TName;
        props: TProps;
        type: "ui";
    }

    Type Parameters

    • TName extends string = string
    • TProps extends Record<string, unknown> = Record<string, unknown>
    Index

    Properties

    id: string
    metadata?: {
        merge?: boolean;
        message_id?: string;
        name?: string;
        run_id?: string;
        tags?: string[];
        [key: string]: unknown;
    }
    name: TName
    props: TProps
    type: "ui"