langchain.js
    Preparing search index...

    Type Alias BaseMessageFields<TStructure, TRole>

    BaseMessageFields: Pick<Message, "id" | "name"> & {
        additional_kwargs?: {
            function_call?: FunctionCall;
            tool_calls?: OpenAIToolCall[];
            [key: string]: unknown;
        };
        content?: $InferMessageContent<TStructure, TRole>;
        contentBlocks?: ContentBlock.Standard[];
        response_metadata?: Partial<$InferResponseMetadata<TStructure, TRole>>;
    }

    Type Parameters

    Type Declaration