StreamBuilder

Builder for streaming Responses API requests.

Used by DeepSeekClientStream.createResponse { ... }; the resulting request has stream = true.

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 streaming request parameters.