|
1 | 1 | addr = "0.0.0.0:8080" |
2 | 2 | hello_wav = "hello.wav" |
3 | 3 |
|
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 | | - |
29 | 4 | [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 |
34 | 11 | vad_url = "http://localhost:9093/v1/audio/vad" |
| 12 | +# vad_realtime_url = "ws://localhost:9093/v1/audio/realtime_vad" |
35 | 13 |
|
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" |
41 | 20 |
|
42 | 21 | [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" |
47 | 26 | history = 5 |
48 | 27 |
|
49 | 28 | [[llm.sys_prompts]] |
50 | 29 | role = "system" |
51 | 30 | 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. |
67 | 32 |
|
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. |
69 | 36 |
|
70 | | -You flexibly adjust your responses depending on the user's question |
71 | 37 | """ |
0 commit comments