AssistantRequestBuilder

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The description of the assistant. The maximum length is 512 characters.

Link copied to clipboard

The system instructions that the assistant uses. The maximum length is 32768 characters.

Link copied to clipboard

Set of 16 key-value pairs that can be attached to an object.

Link copied to clipboard

ID of the model to use.

Link copied to clipboard
var name: String?

The name of the assistant. The maximum length is 256 characters.

Link copied to clipboard

Specifies the format that the model must output. Compatible with GPT-4o, GPT-4 Turbo, and all GPT-3.5 Turbo models since gpt-3.5-turbo-1106.

Link copied to clipboard

What sampling temperature to use, between 0 and 2.

Link copied to clipboard

A set of resources that are used by the assistant's tools. The resources are specific to the type of tool.

Link copied to clipboard

A list of tools enabled on the assistant.

Link copied to clipboard
var topP: Double?

An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.

Functions

Link copied to clipboard

Create Assistant instance.