SystemMessageBuilder

Builder for creating Message.System instances from Java code.

Usage from Java:

Message.System message = MessageBuilder.system()
.setText("You are a helpful assistant.")
.build();

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Adds a text content part to the message.

Link copied to clipboard

Adds the text content of the message, replacing any previously added parts.

Link copied to clipboard

Builds a new Message.System instance.

Link copied to clipboard
Link copied to clipboard