selectLLMChoice

fun selectLLMChoice(choiceSelectionStrategy: ChoiceSelectionStrategy, name: String? = null): AIAgentNodeBase<ERROR CLASS: Symbol not found for LLMChoice, ERROR CLASS: Symbol not found for Message.Assistant>(source)

A node that chooses an LLM choice based on the given strategy.

Parameters

choiceSelectionStrategy

The strategy used to choose an LLM choice.

name

Optional name for the node.