emitParallelToolCallsRaw
inline fun <DataArgs, TResult> AIAgentLLMWriteSession.emitParallelToolCallsRaw(flow: Flow<DataArgs>, foolFunction: KFunction<TResult>, concurrency: Int = 16): Flow<String>(source)
Executes parallel tool calls in a raw format using the provided flow of data arguments.
Return
A flow that emits the raw string results from the tool calls.
Parameters
flow
The flow of data arguments that will be processed by the tool calls.
foolFunction
The function representing the tool to be invoked for each data argument.
concurrency
The maximum level of concurrency for the tool calls. Defaults to 16.