bunsen_tool/lib.rs
1//! # bunsen-tool
2//!
3//! `bunsen-tool` is bunsen's models on the command line: `bunsen-tool asr`
4//! (speech to text, and who spoke when), `bunsen-tool chat` (chat with a
5//! Qwen3, Qwen3.5, Gemma or nanochat checkpoint), `bunsen-tool decide`
6//! (typed questions about a context, answered by a Laya decision model),
7//! `bunsen-tool text` (text normalization on its own), `bunsen-tool cache`
8//! (the weights cache), `bunsen-tool summary` and `bunsen-tool devices`. Its
9//! README is the binary's guide.
10//!
11//! The library is all of it, one module per command, each with what the
12//! command runs and its command tree, nested as the commands are: a
13//! `{group}_command_group` per group, a `{group}_{command}` per command, every
14//! type named by its command path (`DecideRunCommand`, `ChatKitCommandGroup`)
15//! and re-exported at the command's module:
16//!
17//! - `asr` (feature `speech`): presets and model families for speech to text,
18//! the stream drivers, the publishers; `asr::AsrCommandGroup`.
19//! - `tts` (feature `speech`): text to speech with ZONOS3-Mini or Qwen3-TTS;
20//! `tts::TtsCommandGroup`.
21//! - [`chat`]: the chat driver; [`chat::ChatCommandGroup`].
22//! - [`decide`]: Laya decisions on typed questions;
23//! [`decide::DecideCommandGroup`].
24//! - [`text`]: text normalization on its own; [`text::TextCommandGroup`].
25//! - [`summary`] and [`devices`]: the builds this binary runs, in brief, by
26//! command, contract and publisher; the backends and their devices.
27//! - [`support`]: what the command trees share.
28
29#[cfg(feature = "speech")]
30pub mod asr;
31pub mod chat;
32pub mod decide;
33pub mod devices;
34pub mod summary;
35pub mod support;
36pub mod text;
37#[cfg(feature = "speech")]
38pub mod tts;