From 36a1ae012b017a1c864e20a2b636ed01817b3aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=A5=E4=B9=94?= <83450930+Liyulingyue@users.noreply.github.com> Date: Sat, 5 Apr 2025 23:08:01 +0800 Subject: [PATCH] Update config.yaml --- main/xiaozhi-server/config.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/main/xiaozhi-server/config.yaml b/main/xiaozhi-server/config.yaml index 60ab7ab43..f4d3f7767 100644 --- a/main/xiaozhi-server/config.yaml +++ b/main/xiaozhi-server/config.yaml @@ -87,7 +87,8 @@ selected_module: # 语音识别模块,默认使用FunASR本地模型 ASR: FunASR # 将根据配置名称对应的type调用实际的LLM适配器 - LLM: ChatGLMLLM + # LLM: ChatGLMLLM + LLM: AiStudio # TTS将根据配置名称对应的type调用实际的TTS适配器 TTS: EdgeTTS # 记忆模块,默认不开启记忆;如果想使用超长记忆,推荐使用mem0ai;如果注重隐私,请使用本地的mem_local_short @@ -319,6 +320,12 @@ LLM: # Xinference服务地址和模型名称 model_name: qwen2.5:3b-AWQ # 使用的小模型名称,用于意图识别 base_url: http://localhost:9997 # Xinference服务地址 + AiStudio: + # 定义LLM API类型 + type: openai + model_name: ernie-speed-8k + url: https://aistudio.baidu.com/llm/lmapi/v3 + api_key: 你的Aistudio账户令牌 TTS: # 当前支持的type为edge、doubao,可自行适配 EdgeTTS: