Update files
This commit is contained in:
@@ -81,75 +81,13 @@ function Configuration() {
|
||||
<section className="space-y-4">
|
||||
<h2 className="text-xl font-medium">Voice</h2>
|
||||
<p className="text-white/60 leading-relaxed">
|
||||
Voice is provider-based per feature: dictation STT, realtime voice STT, and voice TTS can each
|
||||
use <code className="font-mono">local</code> or <code className="font-mono">openai</code>.
|
||||
Defaults are local for all three.
|
||||
</p>
|
||||
<pre className="bg-card border border-border rounded-lg p-4 font-mono text-sm overflow-x-auto text-white/80">
|
||||
{`{
|
||||
"version": 1,
|
||||
"features": {
|
||||
"dictation": { "stt": { "provider": "local" } },
|
||||
"voiceMode": {
|
||||
"llm": { "provider": "claude", "model": "haiku" },
|
||||
"stt": { "provider": "local" },
|
||||
"tts": { "provider": "local" }
|
||||
}
|
||||
},
|
||||
"providers": {
|
||||
"sherpaOnnx": {
|
||||
"modelsDir": "~/.paseo/models/sherpa-onnx",
|
||||
"autoDownload": true,
|
||||
"stt": { "preset": "parakeet-tdt-0.6b-v3-int8" },
|
||||
"tts": { "preset": "pocket-tts-onnx-int8" }
|
||||
}
|
||||
}
|
||||
}`}
|
||||
</pre>
|
||||
<p className="text-white/60 leading-relaxed">
|
||||
Voice LLM orchestration is agents-only. Set{' '}
|
||||
<code className="font-mono">features.voiceMode.llm.provider</code> to one of{' '}
|
||||
<code className="font-mono">claude</code>, <code className="font-mono">codex</code>, or{' '}
|
||||
<code className="font-mono">opencode</code>. If set, startup is strict and fails if unavailable.
|
||||
If omitted, Paseo picks the first available voice-enabled agent provider.
|
||||
Voice is configured through <code className="font-mono">features.dictation</code> and{' '}
|
||||
<code className="font-mono">features.voiceMode</code>, with provider credentials under{' '}
|
||||
<code className="font-mono">providers</code>.
|
||||
</p>
|
||||
<p className="text-white/60 leading-relaxed">
|
||||
Local voice uses ONNX models (sherpa-onnx + PocketTTS). Default presets are
|
||||
<code className="font-mono">parakeet-tdt-0.6b-v3-int8</code> for STT and
|
||||
<code className="font-mono">pocket-tts-onnx-int8</code> for TTS.
|
||||
</p>
|
||||
<p className="text-white/60 leading-relaxed">
|
||||
With local provider enabled and auto-download on (default outside tests), missing model files are
|
||||
downloaded at daemon startup into <code className="font-mono">$PASEO_HOME/models/sherpa-onnx</code>.
|
||||
Downloads are only performed for missing files.
|
||||
</p>
|
||||
<p className="text-white/60 leading-relaxed">
|
||||
Local ONNX execution is CPU-first by default. It works without GPU requirements, but performance
|
||||
depends on your machine.
|
||||
</p>
|
||||
<p className="text-white/60 leading-relaxed">
|
||||
To force OpenAI for voice/dictation, configure OpenAI providers explicitly and provide
|
||||
<code className="font-mono">OPENAI_API_KEY</code>. If OpenAI is selected but credentials are
|
||||
missing, daemon startup fails fast.
|
||||
</p>
|
||||
<pre className="bg-card border border-border rounded-lg p-4 font-mono text-sm overflow-x-auto text-white/80">
|
||||
{`{
|
||||
"version": 1,
|
||||
"features": {
|
||||
"dictation": { "stt": { "provider": "openai" } },
|
||||
"voiceMode": {
|
||||
"stt": { "provider": "openai" },
|
||||
"tts": { "provider": "openai" }
|
||||
}
|
||||
},
|
||||
"providers": {
|
||||
"openai": { "apiKey": "..." }
|
||||
}
|
||||
}`}
|
||||
</pre>
|
||||
<p className="text-white/60 leading-relaxed">
|
||||
Realtime voice can create/manage coding agents. Use clear prompts and explicit paths, because
|
||||
those agents can be launched in arbitrary working directories by request.
|
||||
For voice philosophy, architecture, and complete local/OpenAI setup examples, see{' '}
|
||||
<a href="/docs/voice" className="underline hover:text-white/80">Voice docs</a>.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
@@ -162,8 +100,10 @@ function Configuration() {
|
||||
<li><code className="font-mono">OPENAI_API_KEY</code> — override OpenAI provider key</li>
|
||||
<li><code className="font-mono">PASEO_VOICE_LLM_PROVIDER</code> — override voice LLM provider (<code className="font-mono">claude</code>, <code className="font-mono">codex</code>, <code className="font-mono">opencode</code>)</li>
|
||||
<li><code className="font-mono">PASEO_DICTATION_STT_PROVIDER</code>, <code className="font-mono">PASEO_VOICE_STT_PROVIDER</code>, <code className="font-mono">PASEO_VOICE_TTS_PROVIDER</code> — override voice provider selection (<code className="font-mono">local</code> or <code className="font-mono">openai</code>)</li>
|
||||
<li><code className="font-mono">PASEO_SHERPA_ONNX_MODELS_DIR</code> and <code className="font-mono">PASEO_SHERPA_ONNX_AUTO_DOWNLOAD</code> — control local model directory and download behavior</li>
|
||||
<li><code className="font-mono">PASEO_SHERPA_STT_PRESET</code> and <code className="font-mono">PASEO_SHERPA_TTS_PRESET</code> — override local STT/TTS model presets</li>
|
||||
<li><code className="font-mono">PASEO_LOCAL_MODELS_DIR</code> and <code className="font-mono">PASEO_LOCAL_AUTO_DOWNLOAD</code> — control local model directory and download behavior</li>
|
||||
<li><code className="font-mono">PASEO_DICTATION_LOCAL_STT_MODEL</code> — override local dictation STT model</li>
|
||||
<li><code className="font-mono">PASEO_VOICE_LOCAL_STT_MODEL</code>, <code className="font-mono">PASEO_VOICE_LOCAL_TTS_MODEL</code> — override local voice STT/TTS models</li>
|
||||
<li><code className="font-mono">PASEO_VOICE_LOCAL_TTS_SPEAKER_ID</code>, <code className="font-mono">PASEO_VOICE_LOCAL_TTS_SPEED</code> — optional local voice TTS tuning</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user