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

chat/completion里没有system的role #8

Closed
doxtor6 opened this issue May 24, 2023 · 5 comments
Closed

chat/completion里没有system的role #8

doxtor6 opened this issue May 24, 2023 · 5 comments

Comments

@doxtor6
Copy link

doxtor6 commented May 24, 2023

user和assistant的role都有,建议增加system的role.

@josStorer
Copy link
Owner

因为对rwkv来说,system并不能和gpt的api兼容,所以我没有提供,建议使用/completion 接口,同样可以定义你的prompt

@josStorer
Copy link
Owner

我可以通过简单的文本替换来兼容试试

@doxtor6
Copy link
Author

doxtor6 commented May 24, 2023

可以,我刚刚也想说可以这样,拜托大佬了。

@josStorer
Copy link
Owner

新版本已经添加system

@doxtor6
Copy link
Author

doxtor6 commented May 25, 2023

牛的,感谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants