input

fun input(text: String)

Sends a single user message as the whole input.

Parameters

text

Text of the user's message


fun input(items: List<ResponseItem>)

Sends a ready-made conversation as the input.

Parameters

items

Conversation so far, in the order the model should see it


Builds the conversation via an InputBuilder DSL.

Parameters

block

Builder block that appends items using InputBuilder.user, InputBuilder.assistant, etc.