mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-20 01:01:25 +02:00
- Add VoiceModule and VoiceService for STT integration
- Override handleAudioMessage to process voice notes
- Transcribe audio via mana-stt (Whisper)
- Route transcribed text through CommandRouter
- Add voice configuration and environment variables
- Update help text and documentation
Voice flow:
1. User sends voice note
2. Bot downloads and transcribes audio
3. Shows transcription: 🎤 *"text"*
4. Routes as normal text command
5. Returns text response
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
758 B
Text
31 lines
758 B
Text
# Server
|
|
PORT=3310
|
|
NODE_ENV=development
|
|
TZ=Europe/Berlin
|
|
|
|
# Matrix Connection
|
|
MATRIX_HOMESERVER_URL=http://localhost:8008
|
|
MATRIX_ACCESS_TOKEN=syt_your_access_token_here
|
|
MATRIX_STORAGE_PATH=./data/mana-bot-storage.json
|
|
|
|
# Optional: Restrict to specific rooms (comma-separated)
|
|
# MATRIX_ALLOWED_ROOMS=!room1:mana.how,!room2:mana.how
|
|
|
|
# AI Service (Ollama)
|
|
OLLAMA_URL=http://localhost:11434
|
|
OLLAMA_MODEL=gemma3:4b
|
|
OLLAMA_TIMEOUT=120000
|
|
|
|
# Clock Service (external API)
|
|
CLOCK_API_URL=http://localhost:3017/api/v1
|
|
|
|
# Storage paths
|
|
TODO_STORAGE_PATH=./data/todos.json
|
|
CALENDAR_STORAGE_PATH=./data/calendar.json
|
|
|
|
# Voice Services
|
|
STT_URL=http://localhost:3020
|
|
VOICE_BOT_URL=http://localhost:3050
|
|
DEFAULT_VOICE=de-DE-ConradNeural
|
|
DEFAULT_SPEED=1.0
|
|
VOICE_ENABLED=true
|