createObjectStreamWithThinking

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

Create a reactive stream with both objects and thinking content. Provides access to the LLM's reasoning process alongside the results.

Return

Flux emitting StreamingEvent instances for objects and thinking

Parameters

itemClass

The class of objects to create