Class File
The File object represents a document that has been uploaded to OpenAI.
Inherited Members
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? |