ChatMessagesBuilder

Creates a list of ChatMessage.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Assistant chat message.

Link copied to clipboard
fun message(block: ChatMessageBuilder.() -> Unit)

Creates a ChatMessage instance.

Link copied to clipboard
fun system(block: SystemMessageBuilder.() -> Unit)

System chat message.

Link copied to clipboard
fun tool(block: ToolMessageBuilder.() -> Unit)

Tool chat message.

Link copied to clipboard
fun user(block: UserMessageBuilder.() -> Unit)

User chat message.