Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用ERNIE-Bot-4,当应用添加了多个上下文数据集时,则无法聊天 #1631

Closed
Emirateyang opened this issue Nov 27, 2023 · 1 comment
Labels
🐞 bug Something isn't working

Comments

@Emirateyang
Copy link

Dify version

0.3.30

Cloud or Self Hosted

Cloud, Self Hosted

Steps to reproduce

使用ERNIE-Bot-4,当应用添加了多个上下文数据集时,则无法聊天,提示

Wenxin: Wenxin API 336003 error: field system too long

在查阅了文心相关文档,system的解释是:

模型人设,主要用于人设设定,例如,你是xxx公司制作的AI助手,长度限制1024个字符

且该字段非必须。

当去掉上下文数据集的引入后,正常聊天。

因此,从现象上反应,怀疑system传值有问题。

✔️ Expected Behavior

请确认是否是bug

❌ Actual Behavior

No response

@Emirateyang Emirateyang added the 🐞 bug Something isn't working label Nov 27, 2023
@crazywoola
Copy link
Member

Please read our language policy in CODE OF CONDUCT before you contribute #1542

If you encounter a question you should use the question template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants