Package-level declarations
Types
Link copied to clipboard
The returned result after attempting to delete a file.
Link copied to clipboard
interface FileHandler
Represents the handler for the files endpoint. This class holds all the actions that can be performed on a file.
Link copied to clipboard
Link copied to clipboard
data class FileObject(val id: String, val bytes: Int, val createdAt: Int, val fileName: String, val purpose: FilePurpose)
Represents a file uploaded to the OpenAI API.
Link copied to clipboard
Represents the reason a file was uploaded to the OpenAI API.
Link copied to clipboard
Represents a request to the list files endpoint.
Link copied to clipboard
Represents a response from the list files endpoint.
Link copied to clipboard
Functions
Link copied to clipboard
Creates an ListFilesRequest using the ListFilesRequest.Builder using Kotlin DSL.
Link copied to clipboard