executeMultipleChoices
fun executeMultipleChoices(prompt: Prompt, model: LLModel, tools: List<ToolDescriptor> = emptyList(), executorService: ExecutorService? = null): 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.
executorService
An optional ExecutorService that can be provided to control the execution context.