← Back
Home › Systems › AI applications

voice-assistant

wake word and voice assistant

Siri, Alexa

SystemTechniques · 16Primitives · 68 voice-assistant Deterministic simulation testingdistributed · medium: Run the whole system in one thread under a seeded scheduler with simulated network, disk and clock, so every failure replays from its seed.›Primary-backup replicationdistributed · medium: One node orders all writes and ships them to standbys; the acknowledgement rule (none, one, all) sets what a crash loses, and an external arbiter decides who takes over.›Named entity recognitionmachine-learning · medium: Find the character spans of entities in text and give each a type, by labelling every token and decoding a valid label sequence.›Neural vocodersmachine-learning · medium: Generating waveforms from mel/acoustic features (HiFi-GAN, WaveNet-style, Vocos)RNN transducer (RNN-T)machine-learning · medium: Streaming sequence model that sums all monotone alignments in a frame-by-label lattice and conditions each label on earlier ones.›Text classificationmachine-learning · medium: Assign one or more labels to a text; climb a ladder from regexes to linear models on n-grams, embeddings, fine-tuned encoders and LLM prompts, only as far as the data and budget demand.›Wake word detectionmachine-learning · medium: Always-on keyword spotting with tiny streaming models, low false-accept rates, on-device thresholdsShort-time Fourier transform and sp…signal-processing · low: Slide a window over a signal and FFT each frame to get a time-frequency picture; the front end of audio ML, vibration and radar analysis.›Voice activity detectionmachine-learning · low: Per-frame speech/non-speech decision with smoothing, from an energy threshold over a tracked noise floor up to small neural nets.›Weight quantizationml-training · low: Store weights as 8/4-bit integers with per-group scales; decode is memory-bound, so 4-bit weights give about 3-4x tokens/s and fit 4x larger models.›Fast Fourier transformnumerics · low: Computes the DFT in O(n log n) by recursively splitting into even and odd halves; the basis of fast convolution and spectral methods.›Tool callingagentic-ai · low: The model emits a structured call (id, name, JSON arguments) instead of prose; your code validates, runs it and returns a result tagged with the same id.›Hdr histogramdata-structures · low: Log-linear bucketed histograms with bounded relative error for latency percentilesSPSC ring bufferdata-structures · low: Bounded wait-free queue for exactly one producer and one consumer thread, built from an array and two indices with acquire/release ordering.›Process supervisionhardware-os · low: A parent process starts services, reaps their exits and restarts them under a delay and burst-limit policy, then stops them with SIGTERM before SIGKILL.›Grapheme to phonememachine-learning · low: Converting text to phonemes with lexicons plus a seq2seq model for unknown wordsSpeaker embeddingsmachine-learning · low: Fixed-size speaker vectors (x-vector, ECAPA) for verification, diarization and voice cloningText normalizationmachine-learning · low: Rewrite messy text into one canonical form for matchers and models, or into spoken words for speech output (and back), keeping a map to the original offsets.›Opus codecmedia · low: Opus audio codec: SILK/CELT modes, frame sizes, bitrate and FEC settings for real-time voiceWebSocketsnetworking · low: Full-duplex message framing over one upgraded HTTP connection; the standard way to push real-time data to browsers.›Mutual TLSsecurity · low: TLS where the client also proves a certificate key, so every connection carries a verified, rotatable machine identity.›Beamformingsignal-processing · low: Phased-array weights that steer radio energy toward a receiver; per-client steering vectorsGraceful drainingsystems · low: On a termination signal, stop taking new work, finish in-flight work until a deadline, tell clients to reconnect elsewhere, then exit; clients resume from a token.›+ 9 more techniques+ 52 more primitives

Similar systems

Share the most building blocks with this one.