ChatRequest

data class ChatRequest(val messages: List<ChatMessage>, val system: String? = null, val tools: List<ToolSpec> = emptyList())

What a ChatModel is asked.

Constructors

Link copied to clipboard
constructor(messages: List<ChatMessage>, system: String? = null, tools: List<ToolSpec> = emptyList())

Properties

Link copied to clipboard

the conversation so far, oldest first.

Link copied to clipboard

instructions for the model that are not part of the conversation.

Link copied to clipboard

the tools the model may ask for.