Crate aidale_core

Crate aidale_core 

Source
Expand description

§AI Core

Core abstractions and runtime for AI SDK in Rust.

This crate provides the foundational traits and types for building AI applications with multiple provider support, middleware composition, and plugin extensibility.

Re-exports§

pub use error::AiError;
pub use layer::Layer;
pub use layer::LayeredProvider;
pub use plugin::Plugin;
pub use plugin::PluginEngine;
pub use plugin::PluginPhase;
pub use provider::Provider;
pub use runtime::RuntimeExecutor;
pub use strategy::JsonModeStrategy;
pub use strategy::JsonOutputStrategy;
pub use strategy::JsonSchemaStrategy;
pub use types::*;

Modules§

error
Error types for AI Core operations.
layer
Layer trait and abstractions.
plugin
Plugin system for runtime-level extensibility.
provider
Provider trait and core abstractions.
runtime
Runtime layer for AI Core.
strategy
Strategy layer for provider-specific behaviors.
types
Core types for AI operations.

Macros§

impl_layered_provider
Macro to implement Provider trait by forwarding to LayeredProvider methods.

Type Aliases§

Result
Result type alias for AI operations