AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class File

    The File object represents a document that has been uploaded to OpenAI.

    Inheritance
    object
    ModelResponse
    File
    Inherited Members
    ModelResponse.Id
    ModelResponse.Object
    ModelResponse.Model
    ModelResponse.CreatedAt
    ModelResponse.Metadata
    ModelResponse.Usage
    Namespace: Glitch9.AIDevKit.OpenAI
    Assembly: .dll
    Syntax
    public class File : ModelResponse

    Properties

    Bytes

    The size of the file, in bytes

    Declaration
    public int Bytes { get; set; }
    Property Value
    Type Description
    int

    Filename

    The name of the file

    Declaration
    public string Filename { get; set; }
    Property Value
    Type Description
    string

    Purpose

    The intended purpose of the file. Supported values are fine-tune, fine-tune-results, Assistants, and Assistants_Output

    Declaration
    public UploadPurpose? Purpose { get; set; }
    Property Value
    Type Description
    UploadPurpose?
    In this article
    Back to top Generated by DocFX