langchain.js
    Preparing search index...

    Interface XAIResponsesStreamEventTextDone

    Text done event.

    interface XAIResponsesStreamEventTextDone {
        content_index: number;
        output_index: number;
        text: string;
        type: "response.output_text.done";
    }

    Hierarchy (View Summary)

    Index

    Properties

    content_index: number

    The index of the content part.

    output_index: number

    The index of the output item.

    text: string

    The complete text.

    type: "response.output_text.done"

    The type of the streaming event.