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 language model.
Parameters
prompt
The prompt containing input messages and parameters to guide the language model execution.
model
The language model to be used for processing the prompt.
tools
A list of ToolDescriptor
objects that define the tools available for the execution.