[Product feedback] UOS AI接入讯飞星火较新版本时出现以下错误
Tofloor
poster avatar
Jorlin
deepin
2025-03-06 16:41
Author

用户数据的 schema 错误(SchemaCheckError:(16:35:29.900) '$.parameter.chat.domain' length must be larger or equal than 1; )

Reply Favorite View the author
All Replies
蓝色的猫
deepin
2025-03-06 17:25
#1

好像那个接入讯飞新的大模型有问题

Reply View the author
深蓝色
deepin
2025-03-06 17:48
#2
请提供下配置信息呢,添加模型时填写的各项数据(APIKey除外)。
Reply View the author
蓝色的猫
deepin
2025-03-06 20:46
#3
深蓝色
请提供下配置信息呢,添加模型时填写的各项数据(APIKey除外)。

截图_uos-ai-assistant_20250306204458.png
截图_uos-ai-assistant_20250306204453.png
截图_uos-ai-assistant_20250306204440.png
截图_uos-ai-assistant_20250306204420.png

Reply View the author
贺小北
deepin
2025-03-07 11:15
#4

可能新的模型版本没适配吧

Reply View the author
深蓝色
deepin
2025-03-07 11:23
#5

Spark 4.0Ultra的wss协议还未适配。
建议使用自定义的添加方式。
参考:https://www.xfyun.cn/doc/spark/HTTP%E8%B0%83%E7%94%A8%E6%96%87%E6%A1%A3.html#_1-%E6%8E%A5%E5%8F%A3%E8%AF%B4%E6%98%8E

请求地址:https://spark-api-open.xf-yun.com/v1/chat/completions

模型:

image.png

Reply View the author
Jorlin
deepin
2025-03-07 14:18
#6
深蓝色
请提供下配置信息呢,添加模型时填写的各项数据(APIKey除外)。

image.png
image.png

Reply View the author
蓝色的猫
deepin
2025-03-07 17:13
#7
深蓝色

Spark 4.0Ultra的wss协议还未适配。
建议使用自定义的添加方式。
参考:https://www.xfyun.cn/doc/spark/HTTP%E8%B0%83%E7%94%A8%E6%96%87%E6%A1%A3.html#_1-%E6%8E%A5%E5%8F%A3%E8%AF%B4%E6%98%8E

请求地址:https://spark-api-open.xf-yun.com/v1/chat/completions

模型:

image.png

截图_uos-ai-assistant_20250307171205.png
截图_uos-ai-assistant_20250307171210.png

Reply View the author
深蓝色
deepin
2025-03-10 19:10
#8
蓝色的猫

截图_uos-ai-assistant_20250307171205.png
截图_uos-ai-assistant_20250307171210.png

检查下APIKey。
要用下面这个:
image.png

Reply View the author
蓝色的猫
deepin
2025-03-10 22:23
#9
深蓝色

检查下APIKey。
要用下面这个:
image.png

好的,谢谢,已解决

Reply View the author