+
+ updateFastGptForm("name", value)}
+ />
+
+
+
+
+
+
+
+
+
+ }
+ title="FastGPT 应用配置"
+ description="填写 App ID、API URL 与 API Key 以对接 FastGPT 应用。开场白、知识库、提示词等对话编排请在 FastGPT 平台配置,本页不重复设置。"
+ >
+ updateFastGptForm("appId", value)}
+ placeholder="请输入 FastGPT 应用 ID"
+ />
+ updateFastGptForm("apiUrl", value)}
+ placeholder="https://api.fastgpt.in/api/v1/chat/completions"
+ />
+ updateFastGptForm("apiKey", value)}
+ placeholder="请输入 FastGPT API Key"
+ type="password"
+ />
+
+
+ }
+ title="语音配置"
+ description="配置本平台的语音识别与播报音色。大模型、知识库与开场白由 FastGPT 应用提供,请前往 FastGPT 平台配置。"
+ >
+ updateFastGptForm("asr", value)}
+ options={["SenseVoice", "Paraformer", "Whisper", "FunASR"]}
+ />
+ updateFastGptForm("voice", value)}
+ options={["晓宁", "晓美", "晓宇", "晓晨"]}
+ />
+
+
+ }
+ title="交互策略"
+ description="设置实时视频对话时的交互体验"
+ >
+
+ updateFastGptForm("enableInterrupt", checked)
+ }
+ />
+
+
+
+
+