executeStreaming

open override fun executeStreaming(prompt: Prompt, model: LLModel, tools: List<ToolDescriptor>): Flow<StreamFrame>(source)

Executes the given prompt with the specified model and streams the response in chunks as a flow.

Parameters

prompt

The prompt to execute, containing the messages and parameters.

model

The LLM model to use for execution.

tools

A list of ToolDescriptor objects representing external tools available for use during execution.