Assistant

data class Assistant(val id: String, val createdAt: Int, val name: String?, val description: String?, val model: String, val instructions: String?, val tools: List<Tool>, val fileIds: List<String>, val metadata: Map<String, String>)

Represents the assistant metadata returned by the OpenAI API.

Constructors

Link copied to clipboard
constructor(id: String, createdAt: Int, name: String?, description: String?, model: String, instructions: String?, tools: List<Tool>, fileIds: List<String>, metadata: Map<String, String>)

Properties

Link copied to clipboard

The unix timestamp of when the assistant was created

Link copied to clipboard

The description of the assistant, if present

Link copied to clipboard

The list of file ids used in tools

Link copied to clipboard
val id: String

The unique id of the assistant, always starts with asst_

Link copied to clipboard

The instructions for the assistant, if present

Link copied to clipboard

Data stored by YOU, the developer, to store additional information

Link copied to clipboard

The model used by the assistant

Link copied to clipboard
val name: String?

The name of the assistant, if present

Link copied to clipboard

The tools used by the assistant