Default

Represents the default implementation of the ChoiceSelectionStrategy interface.

This implementation selects the first available choice from the provided list of LLMChoice options in response to the given Prompt. It is intended to serve as a simple, deterministic strategy for use cases where no specific selection logic is required.

Functions

Link copied to clipboard
open suspend override fun choose(prompt: Prompt, choices: List<LLMChoice>): LLMChoice

Selects one choice from a list of available LLMChoice options based on a given prompt.