langchain.js
    Preparing search index...

    Interface XAIResponsesOutputTextItem

    Text output item in the response.

    interface XAIResponsesOutputTextItem {
        content: XAIResponsesOutputContent[];
        id?: string;
        role: "assistant";
        status?: XAIResponsesStatus;
        type: "message";
    }
    Index

    Properties

    The text content of the message.

    id?: string

    The ID of this output item.

    role: "assistant"

    The role of the message (always assistant for outputs).

    The status of this output item.

    type: "message"