A text output from the model.

interface ResponseOutputText {
    annotations: (
        | OpenAIClient.Responses.ResponseOutputText.FileCitation
        | OpenAIClient.Responses.ResponseOutputText.URLCitation
        | ContainerFileCitation
        | OpenAIClient.Responses.ResponseOutputText.FilePath)[];
    logprobs?: OpenAIClient.Responses.ResponseOutputText.Logprob[];
    text: string;
    type: "output_text";
}

Properties

The annotations of the text output.

text: string

The text output from the model.

type: "output_text"

The type of the output text. Always output_text.