pub struct Extensions {
pub chat_providers: ExtensionPoint<dyn ChatProvider>,
pub embedding_providers: ExtensionPoint<dyn EmbeddingProvider>,
pub tools: ExtensionPoint<dyn Tool>,
pub context_adapters: ExtensionPoint<dyn ContextAdapter>,
pub session_stores: ExtensionPoint<dyn SessionStore>,
pub execution_stores: ExtensionPoint<dyn ExecutionStore>,
pub embedding_stores: ExtensionPoint<dyn EmbeddingStore>,
pub artifact_stores: ExtensionPoint<dyn ArtifactStore>,
pub run_stores: ExtensionPoint<dyn RunStore>,
pub session_data_stores: ExtensionPoint<dyn SessionDataStore>,
pub runtime_event_stores: ExtensionPoint<dyn RuntimeEventStore>,
pub snapshot_stores: ExtensionPoint<dyn SnapshotStore>,
}Expand description
The composable, hot-pluggable facade over every pluggable runtime element.
All fields are public so callers can register, replace, and inspect
every category of plug-in directly. Cloning is cheap (Arc-backed
internally).
Fields§
§chat_providers: ExtensionPoint<dyn ChatProvider>Chat provider implementations, keyed by user-assigned name.
embedding_providers: ExtensionPoint<dyn EmbeddingProvider>Embedding provider implementations, keyed by user-assigned name.
tools: ExtensionPoint<dyn Tool>Tool implementations, keyed by user-assigned name.
context_adapters: ExtensionPoint<dyn ContextAdapter>Context adapter implementations, keyed by user-assigned name.
session_stores: ExtensionPoint<dyn SessionStore>Session store implementations, keyed by user-assigned name.
execution_stores: ExtensionPoint<dyn ExecutionStore>Execution store implementations, keyed by user-assigned name.
embedding_stores: ExtensionPoint<dyn EmbeddingStore>Embedding store implementations, keyed by user-assigned name.
artifact_stores: ExtensionPoint<dyn ArtifactStore>Artifact store implementations, keyed by user-assigned name.
run_stores: ExtensionPoint<dyn RunStore>Run store implementations, keyed by user-assigned name.
session_data_stores: ExtensionPoint<dyn SessionDataStore>Session data store implementations, keyed by user-assigned name.
runtime_event_stores: ExtensionPoint<dyn RuntimeEventStore>Runtime event store implementations, keyed by user-assigned name.
snapshot_stores: ExtensionPoint<dyn SnapshotStore>Snapshot store implementations, keyed by user-assigned name.
Implementations§
Source§impl Extensions
impl Extensions
Sourcepub fn populated_categories(&self) -> usize
pub fn populated_categories(&self) -> usize
Number of distinct extension-point categories that have at least one registered entry.
Trait Implementations§
Source§impl Clone for Extensions
impl Clone for Extensions
Source§fn clone(&self) -> Extensions
fn clone(&self) -> Extensions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more