-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
34 lines (30 loc) · 1.35 KB
/
Copy pathconfig.yaml
File metadata and controls
34 lines (30 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
wake_word:
# Built-in options: hey_jarvis_v0.1, alexa_v0.1, hey_mycroft_v0.1
# Custom models: place .onnx in models/ and reference by filename without extension
model: "computer_v2"
threshold: 0.98
trigger_level: 3 # consecutive chunks above threshold required to activate (~240ms)
stt:
model: "large-v3" # whisper model: tiny, base, small, medium, large-v3
device: "cuda" # cuda or cpu
compute_type: "float16" # float16 (GPU) or int8 (CPU/lower VRAM)
language: "en"
llm:
base_url: "http://localhost:11434"
model: "computer-assistant"
system_prompt: >
You are a helpful AI assistant. Keep responses concise and conversational.
Do not use markdown, bullet points, numbered lists, or any formatting that
does not translate well to speech. Respond naturally as if speaking aloud.
Avoid filler phrases like "Certainly!" or "Of course!". Just answer directly.
tts:
# Path to downloaded Piper voice model (.onnx file)
model_path: "models/en_US-lessac-medium.onnx"
speaker_id: null # null for single-speaker models
audio:
sample_rate: 16000
channels: 1
chunk_size: 1280 # ~80ms at 16kHz — optimal for wake word detection
silence_threshold: 0.02 # normalized RMS (0.0-1.0); raise if noisy environment
silence_duration: 1.5 # seconds of silence before ending recording
max_record_duration: 30.0