Streaming Prompt Runner Operations
Deprecated
Use StreamingPromptRunner.Streaming instead
Replace with
import com.embabel.agent.api.common.StreamingPromptRunner.Streaming
StreamingPromptRunner.StreamingStreaming operations interface providing fluent API for configuring and executing streaming prompts. Follows the same pattern as PromptRunnerOperations but returns reactive streams instead of blocking results.
Extends StreamingCapability to enable polymorphic access through the tag interface.
Functions
Create a reactive stream of objects of the specified type. Objects are emitted as they become available during LLM processing.
Create a reactive stream with both objects and thinking content. Provides access to the LLM's reasoning process alongside the results.
Generate a reactive stream of text chunks as they arrive from the LLM.
Configure the streaming operation with a list of messages.
Configure the streaming operation with a single prompt message.