executeMultipleChoices

open suspend fun executeMultipleChoices(prompt: Prompt, model: LLModel, tools: List<ToolDescriptor>): List<LLMChoice>(source)

Receives multiple independent choices from the LLM. The method is implemented only for some specific providers which support multiple LLM choices.

Return

A list of LLMChoice objects representing the responses generated by the LLM.

Parameters

prompt

The prompt containing input messages and parameters to guide the LLM execution.

model

The LLM to be used for processing the prompt.

tools

A list of ToolDescriptor objects that define the tools available for the execution.