Skip to content

๐ŸŽค Voice Input for CLARISSA

Voice input enables hands-free interaction with CLARISSA - speak your reservoir engineering questions naturally.


Quick Start

Try it now: ๐ŸŽค Voice Input Demo

  1. Open the demo in Chrome/Edge
  2. Enter your OpenAI API key
  3. Click ๐ŸŽค or use keyboard shortcut
  4. Speak your question
  5. See real-time transcription

Resources

Resource Description
Voice Demo Interactive browser demo
Tutorial Guide Step-by-step walkthrough
Colab Notebook Jupyter notebook with examples
ADR-028 Architecture decision record

Recording Demo Videos

Need to record a demo? Multiple options:

Browser-Based (Zero Install)

Command Line Tools (macOS/Linux)

# Setup (one time)
git clone https://gitlab.com/wolfram_laube/blauweiss_llc/irena.git ~/Projects/clarissa
~/Projects/clarissa/tools/recording/setup.sh

# Use (after restart or source ~/.zshrc)
record-pip.sh start 60     # 60s with camera PiP
record-timed.sh 30         # 30s screen only
record-demo.sh             # Interactive menu

Structure:

tools/recording/
โ”œโ”€โ”€ setup.sh              # Auto-detects macOS/Linux
โ”œโ”€โ”€ common/config.sh      # Shared settings
โ”œโ”€โ”€ macos/                # macOS-specific scripts
โ”‚   โ”œโ”€โ”€ record-pip.sh
โ”‚   โ”œโ”€โ”€ record-timed.sh
โ”‚   โ””โ”€โ”€ record-applescript.sh
โ””โ”€โ”€ linux/                # Linux-specific scripts
    โ”œโ”€โ”€ record-pip.sh
    โ””โ”€โ”€ record-timed.sh

๐Ÿ“‹ Showcase Guide: See the Demo Showcase Guide for step-by-step instructions on what to say, demonstrate, and expect in your demo video.

See Recording Tools Documentation for full details.


Implementation Status

Component Status Notes
Browser Demo โœ… Live WebSpeech API
Tutorial Guide โœ… Complete Step-by-step
Colab Notebook โœ… Complete With mic workaround
Recording Tools โœ… Complete macOS + Linux
ADR-028 โœ… Documented Architecture
Phase 1 Backend ๐Ÿ”œ Planned Issues #67-72

Architecture

Voice input uses the WebSpeech API for browser-based transcription:

User Speech โ†’ Microphone โ†’ WebSpeech API โ†’ Text โ†’ CLARISSA

For production deployment, the architecture supports multiple backends: - OpenAI Whisper (cloud) - Local Whisper (privacy-focused) - WebSpeech (browser-native)

See ADR-028 for details.