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

建议引入官方API中 system 角色的设计 #183

Closed
Zoranner opened this issue Mar 29, 2023 · 2 comments
Closed

建议引入官方API中 system 角色的设计 #183

Zoranner opened this issue Mar 29, 2023 · 2 comments

Comments

@Zoranner
Copy link

Zoranner commented Mar 29, 2023

建议将对话框中第一条消息更改为 system 的角色,API参考:Chat completions

同时建议新增以下特性:

  1. 对话项目右上角增加编辑按钮,可通过弹出对话框修改对话项目名称以及 system 角色的消息内容;
  2. 右上角新增清除对话记录的按钮,用于清除对话框中消息记录,该操作不清除 system 消息(方便对话项目多次重复使用);
  3. 修改与 system 角色更匹配的图标,另外该消息的消息气泡样式可特别处理,且无需显示时间;

image

参考项目:Bin-Huang / chatbox

image

@realskyrin
Copy link

这个之前提过了,开发者说正在做:#138

@Yidadaa
Copy link
Collaborator

Yidadaa commented Mar 30, 2023

Duplicate #138

@Yidadaa Yidadaa closed this as completed Mar 30, 2023
ryiann pushed a commit to ryiann/ChatGPT that referenced this issue Dec 19, 2023
- [+] fix(chat.ts): fix condition for injecting system prompts based on modelConfig.model starting with "dall-e"
- [+] chore(chat.ts): add console log message for Dall-e models not needing system prompts
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

3 participants