chat

Creates chat completion parameters with custom settings.

This function provides a convenient way to create parameters specifically for chat completion requests using a builder pattern.

Example:

params {
chat {
model = ChatModel.DEEPSEEK_CHAT
temperature = 0.8
maxTokens = 2000
}
}

Return

Configured ChatCompletionParams for use with chat endpoints

Parameters

block

Configuration block for building chat parameters