doTransformObjectStream

abstract fun <O> doTransformObjectStream(messages: List<Message>, interaction: LlmInteraction, outputClass: Class<O>, llmRequestEvent: LlmRequestEvent<O>?): <Error class: unknown class><O>

Low level object streaming transform, not necessarily aware of platform. Streams typed objects as they are parsed from JSONL response.

Return

Flux of typed objects as they are parsed from the response

Parameters

messages

messages in the conversation so far

interaction

The LLM call options

outputClass

Class of the output objects

llmRequestEvent

Event already published for this request if one has been