Learn about text inputs.

interface ChatCompletionContentPartText {
    text: string;
    type: "text";
}

Properties

Properties

text: string

The text content.

type: "text"

The type of the content part.