Langchain-Chatchat icon indicating copy to clipboard operation
Langchain-Chatchat copied to clipboard

[BUG] 想问一下8501界面上设置按钮里面的SystemMessage在API请求时,在哪设置

Open littleseal opened this issue 1 year ago • 1 comments

WechatIMG261

在8501访问时,效果很好。

用API访问时,如果拼接在body的messages或者history里面(role:system,content:xxxx),效果并不如8501。

所以想问一下,这个是不是有特别传值的地方

littleseal avatar Sep 18 '24 04:09 littleseal

没有,webui 也是拼接到 messages 的。你可以把你 API 请求的参数贴出来看看。

liunux4odoo avatar Sep 18 '24 09:09 liunux4odoo

这个问题已经被标记为 stale ,因为它已经超过 30 天没有任何活动。

github-actions[bot] avatar Oct 18 '24 21:10 github-actions[bot]