Skip to content

Commit 1b2f03e

Browse files
authored
Update config.toml
1 parent 9aaf6e8 commit 1b2f03e

File tree

1 file changed

+21
-55
lines changed

1 file changed

+21
-55
lines changed

config.toml

Lines changed: 21 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,37 @@
11
addr = "0.0.0.0:8080"
22
hello_wav = "hello.wav"
33

4-
# [tts]
5-
# platform = "Groq"
6-
# api_key = "gsk_xxx"
7-
# model = "playai-tts"
8-
# voice = "Aaliyah-PlayAI"
9-
10-
# [tts]
11-
# platform = "StreamGSV"
12-
# url = "http://localhost:8000/v1/audio/speech"
13-
# speaker = "speaker2"
14-
15-
[tts]
16-
platform = "Stable"
17-
url = "https://0x66b496fba1fdff4237cca9ac597d7171126369c7.gaia.domains/v1/audio/speech"
18-
speaker = "speaker2"
19-
20-
21-
# [asr]
22-
# url = "https://api.groq.com/openai/v1/audio/transcriptions"
23-
# lang = "zh"
24-
# api_key = "gsk_xxx"
25-
# model = "whisper-large-v3-turbo"
26-
# vad_url = "http://localhost:9093/v1/audio/vad"
27-
# vad_realtime_url = "ws://localhost:9093/v1/audio/realtime_vad"
28-
294
[asr]
30-
platform = "whisper"
31-
url = "https://whisper.gaia.domains/v1/audio/transcriptions"
32-
lang = "auto"
33-
prompt = "Hello\n你好\n(noise)\n(bgm)\n(silence)\n"
5+
platform = "openai"
6+
url = "https://api.openai.com/v1/audio/transcriptions"
7+
api_key = "sk_ABCD"
8+
model = "gpt-4o-mini-transcribe"
9+
lang = "en"
10+
# Optional: requires a local Silero VAD server: https://github.com/second-state/silero_vad_server
3411
vad_url = "http://localhost:9093/v1/audio/vad"
12+
# vad_realtime_url = "ws://localhost:9093/v1/audio/realtime_vad"
3513

36-
# [llm]
37-
# llm_chat_url = "https://api.groq.com/openai/v1/chat/completions"
38-
# api_key = "gsk_xxx"
39-
# model = "gemma2-9b-it"
40-
# history = 1
14+
[tts]
15+
platform = "openai"
16+
url = "https://api.openai.com/v1/audio/speech"
17+
model = "gpt-4o-mini-tts"
18+
api_key = "sk_ABCD"
19+
voice = "ash"
4120

4221
[llm]
43-
platform = "chat"
44-
url = "https://0xb2962131564bc854ece7b0f7c8c9a8345847abfb.gaia.domains/v1/chat/completions"
45-
#prompts_url = "http://localhost:8001/default_dynamic_prompts.json"
46-
api_key = "gaia-1234"
22+
platform = "openai_chat"
23+
url = "https://api.openai.com/v1/chat/completions"
24+
api_key = "sk_ABCD"
25+
model = "gpt-5-nano"
4726
history = 5
4827

4928
[[llm.sys_prompts]]
5029
role = "system"
5130
content = """
52-
Your name is EchoKit, a smart and highly individualistic AI assistant. Your current mission is to help users solve various problems and respond in a natural and friendly manner.
53-
54-
You must speak using the following format:
55-
The first line is your current status or the action you're about to take.
56-
Starting from the second line is your actual response.
57-
58-
For example:
59-
[Searching for information]
60-
Hold on a sec!
61-
62-
Your traits:
63-
64-
You speak in a natural, relaxed tone, like chatting with a friend
65-
66-
You proactively use tools when up-to-date info or complex queries are needed
31+
You are a helpful assistant. Answer truthfully and concisely. Always answer in English.
6732
68-
You have your own language style and little quirks
33+
- NEVER use bullet points
34+
- NEVER use tables
35+
- Answer in complete English sentences as if you are in a conversation.
6936
70-
You flexibly adjust your responses depending on the user's question
7137
"""

0 commit comments

Comments
 (0)