OpenAIPurpose

@Serializable
value class OpenAIPurpose(val value: String)

The intended purpose of an uploaded file in the OpenAI Files API.

Use the predefined constants for standard purposes, or instantiate with a custom value for non-standard cases.

Constructors

Link copied to clipboard
constructor(value: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The purpose string sent to the API.