Default

Represents the default implementation of the ChoiceSelectionStrategy interface.

This implementation selects the first available choice from the provided 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: LLMChoice): Message.Assistant

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