Builder

class Builder

Builder for non-streaming Responses API requests.

Used by DeepSeekClient.createResponse { ... }; compose params and input inside the block.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Builds the conversation via an InputBuilder DSL.

fun input(text: String)

Sends a single user message as the whole input.

fun input(items: List<ResponseItem>)

Sends a ready-made conversation as the input.

Link copied to clipboard

Configures request parameters (model, instructions, reasoning, tools, etc.).