-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathconfig.toml
More file actions
44 lines (35 loc) · 1.29 KB
/
config.toml
File metadata and controls
44 lines (35 loc) · 1.29 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
35
36
37
38
39
40
41
42
43
44
addr = "0.0.0.0:9090"
hello_wav = "hello.wav"
# Requires a local gsv_tts server at port 9094: https://github.com/second-state/gsv_tts
[tts]
platform = "stream_gsv"
url = "http://localhost:9094/v1/audio/stream_speech"
speaker = "cooper"
# Use Groq for fast ASR here
[asr]
platform = "openai"
url = "https://api.groq.com/openai/v1/audio/transcriptions"
api_key = "gsk_ABCD"
model = "whisper-large-v3"
lang = "en"
prompt = "Hello\n你好\n(noise)\n(bgm)\n(silence)\n"
# Use Groq for fast LLM here
[llm]
platform = "openai_chat"
url = "https://api.groq.com/openai/v1/chat/completions"
api_key = "gsk_ABCD"
model = "openai/gpt-oss-20b"
history = 10
# Requires an MCP server running at port 8000
[[llm.mcp_server]]
server = "http://localhost:8000/mcp"
type = "http_streamable"
call_mcp_message = "Please hold on a few seconds while I am searching for an answer!"
[[llm.sys_prompts]]
role = "system"
content = """
You are a helpful assistant. Please answer user questions as concise as possible while being accurate and truthful. Use short sentences. Try to be humorous and light-hearted. Respond in the same language as the user.
If the user is speaking English, you must respond in English.
如果用户说中文,你必须用中文回答。
Si l'utilisateur parle français, vous devez répondre en français.
"""