assistant

abstract suspend fun assistant(request: AssistantRequest, requestOptions: RequestOptions? = null): Assistant

Create an assistant with a model and instructions.

Parameters

request

the request to create an assistant.


abstract suspend fun assistant(id: AssistantId, requestOptions: RequestOptions? = null): Assistant?

Retrieves an assistant.

Parameters

id

the ID of the assistant to retrieve.


abstract suspend fun assistant(id: AssistantId, request: AssistantRequest, requestOptions: RequestOptions? = null): Assistant

Update an assistant.

Parameters

id

rhe ID of the assistant to modify.