Skip to main content

Crate whisperforge_core

Crate whisperforge_core 

Source

Re-exports§

pub use attn_extract::forward_decoder_with_cross_attn;
pub use audio::batch_mel_spectrograms;
pub use audio::compute_mel_from_samples;
pub use audio::prepare_centered_samples_raw;
pub use audio_capture::CaptureSource;
pub use audio_capture::FakeMic;
pub use audio_capture::MicCapture;
pub use audio_capture::list_input_devices;
pub use decoding::BeamSearchDecoder;
pub use decoding::DecodingConfig;
pub use decoding::GreedyDecoder;
pub use decoding::HybridDecoder;
pub use embed::extract_speaker_embedding;
pub use kv_cache::KvCache;
pub use kv_cache::forward_decoder_cached;
pub use language::LANGUAGE_CODES;
pub use language::Task;
pub use language::detect_language;
pub use language::language_token_id;
pub use language::task_token_id;
pub use load::load_config_from_bytes;
pub use load::load_whisper_from_bytes;
pub use model::AudioEncoderConfig;
pub use model::TextDecoderConfig;
pub use model::Whisper;
pub use model::WhisperConfig;
pub use stream_decode::DecodeContext;
pub use stream_decode::QualityGate;
pub use stream_decode::TokenEmit;
pub use stream_decode::avg_logprob;
pub use stream_decode::decode_window;
pub use stream_decode::passes_quality_gate;
pub use streaming::Chunker;
pub use streaming::CommitDelta;
pub use streaming::Committer;
pub use streaming::EndpointConfig;
pub use streaming::Endpointer;
pub use streaming::PromptContext;
pub use streaming::StreamWindow;
pub use streaming::WindowConfig;
pub use transcribe::WhisperTranscriber;
pub use transcribe::transcribe_audio;
pub use vad_silero::SileroVad;
pub use vad_silero::ensure_silero_model;
pub use audio::load_audio_file;
pub use audio_stream::AudioChunk;
pub use audio_stream::AudioChunkIterator;
pub use load::load_config;
pub use load::load_whisper;

Modules§

attn_extract
audio
audio_capture
audio_stream
Streaming audio decoder for processing large files without pre-loading.
decoding
embed
kv_cache
language
Whisper language + task token helpers.
load
model
stream_decode
streaming
transcribe
vad_silero

Structs§

TranscriptionResult
TranscriptionSegment

Constants§

SPECIAL_TOKENS

Traits§

WhisperInference