Learn about file inputs for text generation.

interface File {
    file: OpenAIClient.Chat.Completions.ChatCompletionContentPart.File.File;
    type: "file";
}

Properties

Properties

type: "file"

The type of the content part. Always file.