ToolSelectionStrategy

sealed interface ToolSelectionStrategy(source)

Represents a strategy to select a subset of tools to be used in a subgraph during its execution.

This interface provides different configurations for tool selection, ranging from using all available tools to a specific subset determined by the context or explicitly provided.

Inheritors

Types

Link copied to clipboard

Represents the inclusion of all available tools in a given subgraph or process.

Link copied to clipboard
data class AutoSelectForTask(val subtaskDescription: String, val maxRetries: Int = 3) : ToolSelectionStrategy

Represents a subset of tools tailored to the specific requirements of a subtask.

Link copied to clipboard

Represents a specific subset of tools used within a subgraph configuration where no tools are selected.

Link copied to clipboard

Represents a subset of tools to be utilized within a subgraph or task.