createObjectStream

abstract fun <T> createObjectStream(itemClass: Class<T>): <Error class: unknown class><T>

Create a reactive stream of objects of the specified type. Objects are emitted as they become available during LLM processing.

Return

Flux emitting objects as they are parsed from the LLM response

Parameters

itemClass

The class of objects to create