pub enum ComponentKind {
Model,
Tool,
Graph,
Router,
Reducer,
Store,
Agent,
Script,
Middleware,
Checkpointer,
TaskStore,
Listener,
}Expand description
The kind of capability a registered component provides.
The kind partitions the registry namespace: lookups, duplicate detection,
aliasing, and discovery are all scoped by kind, so (Model, "x") and
(Tool, "x") are independent entries.
Variants§
Model
A chat model handle.
Tool
A callable tool.
Graph
A compiled graph blueprint.
Router
A conditional-routing function descriptor (name-only for now).
Reducer
A state-channel reducer descriptor (name-only for now).
Store
A memory/vector/checkpoint store descriptor (name-only for now).
Agent
An executable agent configuration descriptor (name-only for now).
Script
A REPL script descriptor a repl_agent node may reference (name-only).
Middleware
A middleware descriptor (name-only for now).
Checkpointer
A graph/harness checkpointer descriptor (name-only for now).
TaskStore
An orchestration task-store descriptor (name-only for now).
Listener
An event listener descriptor (name-only for now).
Implementations§
Source§impl ComponentKind
impl ComponentKind
Trait Implementations§
Source§impl Clone for ComponentKind
impl Clone for ComponentKind
Source§fn clone(&self) -> ComponentKind
fn clone(&self) -> ComponentKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more