Add service orchestration and web UI
This commit is contained in:
48
config.example.yaml
Normal file
48
config.example.yaml
Normal file
@@ -0,0 +1,48 @@
|
||||
concurrency: 1
|
||||
shutdown_timeout: 30s
|
||||
|
||||
server:
|
||||
address: ":8080"
|
||||
|
||||
stt:
|
||||
url: "http://localhost:8178"
|
||||
timeout: "30s"
|
||||
|
||||
llm:
|
||||
url: "http://localhost:8081/v1"
|
||||
key: ${ODIDERE_LLM_KEY}
|
||||
model: "default"
|
||||
system_prompt: "You are a helpful voice assistant. Be concise."
|
||||
timeout: "5m"
|
||||
|
||||
tts:
|
||||
url: "http://localhost:8880"
|
||||
voice: "af_heart"
|
||||
voice_map:
|
||||
english: "af_heart" # American English
|
||||
chinese: "zf_xiaobei" # Mandarin Chinese
|
||||
japanese: "jf_alpha" # Japanese
|
||||
spanish: "ef_dora" # Spanish
|
||||
french: "ff_siwis" # French
|
||||
hindi: "hf_alpha" # Hindi
|
||||
italian: "if_sara" # Italian
|
||||
portuguese: "pf_dora" # Brazilian Portuguese
|
||||
korean: "kf_sarah" # Korean
|
||||
timeout: "60s"
|
||||
|
||||
tools:
|
||||
- name: get_weather
|
||||
description: "Get current weather for a location"
|
||||
command: "curl"
|
||||
arguments:
|
||||
- "-s"
|
||||
- "https://wttr.in/{{.location}}?format=j1"
|
||||
parameters:
|
||||
type: object
|
||||
properties:
|
||||
location:
|
||||
type: string
|
||||
description: "City name or location"
|
||||
required:
|
||||
- location
|
||||
timeout: "10s"
|
||||
Reference in New Issue
Block a user