AssistantMessageBuilder

Assistant message builder.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The contents of the message.

Link copied to clipboard
var name: String?

An optional name for the participant. Provides the model information to differentiate between participants of the same role.

Link copied to clipboard

The tool calls generated by the model, such as function calls.

Functions

Link copied to clipboard

Build an assistant chat message.

Link copied to clipboard
fun toolCalls(block: ToolCallsBuilder.() -> Unit)

The tool calls generated by the model, such as function calls.