CreateRunRequest

data class CreateRunRequest(var assistantId: String, var model: String? = null, var instructions: String? = null, var tools: List<Tool>? = null, var metadata: Map<String, String>? = null)

A data class which represents a request to create a Run.

Constructors

Link copied to clipboard
constructor(assistantId: String, model: String? = null, instructions: String? = null, tools: List<Tool>? = null, metadata: Map<String, String>? = null)

Types

Link copied to clipboard
class Builder

Builder for CreateRunRequest.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The ID of the Assistant to use for the run

Link copied to clipboard

The instructions to override the assistant's default instructions

Link copied to clipboard

The metadata to associate with the run

Link copied to clipboard

The ID of the model to override the assistant's default model

Link copied to clipboard
var tools: List<Tool>?

The tools to override the assistant's default tools