doTransformStream

abstract fun doTransformStream(messages: List<Message>, interaction: LlmInteraction, llmRequestEvent: LlmRequestEvent<String>?): <Error class: unknown class><String>

Low level streaming transform, not necessarily aware of platform. Streams text chunks as they arrive from the LLM without platform mediation.

Return

Flux of text chunks as they arrive from the LLM

Parameters

messages

messages in the conversation so far

interaction

The LLM call options

llmRequestEvent

Event already published for this request if one has been