Skip to main content

Crate voxora_traits

Crate voxora_traits 

Source
Expand description

Canonical traits and value types for the voxora model-agnostic ASR bridge.

This crate is the canonical home of the public API surface. It has zero runtime dependencies (no tokio, no reqwest, no async-trait requirement beyond the trait-level use of async-trait).

§Removed predecessor: voxora-core

voxora-core was a thin re-export shim from 0.3.0 to 0.3.1 that allowed downstream code to import the trait surface via use voxora_core::*; while the canonical home was this crate. The shim was deprecated in 0.3.1 and removed in 0.4.0. New code has always depended, and continues to depend, on voxora-traits directly. See README.md → Upgrade guide and CHANGELOG.md → 0.4.0 for the migration recipe.

§ASR-specific

Per operator direction, the design is ASR-specific. The AsrEngine trait is purpose-built for automatic speech recognition. New domains (LLM, vision, multimodal) are out of scope per the architecture handoff.

Re-exports§

pub use engine::AsrEngine;
pub use engine::ModelCapabilities;
pub use engine::TranscribeOptions;
pub use engine::TranscriptionResult;
pub use engine::TranscriptionSegment;
pub use error::AsrError;
pub use source::ModelDescriptor;
pub use source::ModelDir;
pub use source::ModelSource;
pub use source::ModelSourceKind;
pub use source::Quantization;
pub use source::QuantizationPreference;
pub use source::ResolveOptions;
pub use streaming::StreamingAsrEngine;
pub use streaming::StreamingOptions;
pub use streaming::StreamingResult;
pub use streaming::StreamingSession;

Modules§

engine
The AsrEngine trait and the value types that travel through it.
error
Error type returned by every voxora operation.
source
The ModelSource trait and the value types that describe where a model lives on disk and how it was acquired.
streaming
Streaming / incremental ASR extension trait.