generateText

open infix fun generateText(prompt: String): ThinkingResponse<String>

Generate text with thinking block extraction.

Return

Response containing both generated text and extracted thinking blocks

Parameters

prompt

The text prompt to send to the LLM


Generate text from multimodal content with thinking block extraction.

Return

Response containing both generated text and extracted thinking blocks

Parameters

content

The multimodal content (text + images) to send to the LLM