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

[Request] 增加一个开关,用于选择是否引用对话历史 #157

Closed
bjwswang opened this issue Jan 16, 2024 · 7 comments
Closed
Assignees

Comments

@bjwswang
Copy link
Collaborator

🥰 需求描述 | Feature Description

增加一个开关项目,允许用户选择是否在对话过程中使用之前的对话历史

image

🧐 解决方案 | Proposed Solution

增加一个 开关, 用于选择是否开始对话历史

📝 补充信息 | Additional Information

No response

@yunti-bot
Copy link
Collaborator

👀 @bjwswang
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@bjwswang bjwswang changed the title [Request] [Request] 增加一个开关,用于选择是否引用对话历史 Jan 16, 2024
@bjwswang
Copy link
Collaborator Author

bjwswang commented Jan 16, 2024

@liutianyi0801 @Abirdcfly

@liutianyi0801
Copy link
Collaborator

使用对话历史是指?目前模型有一个配置是对话轮次,指的就是我们保留多少轮对话记录丢给大模型,对话历史开启的话是指引用所有对话消息?

@bjwswang
Copy link
Collaborator Author

使用对话历史是指?目前模型有一个配置是对话轮次,指的就是我们保留多少轮对话记录丢给大模型,对话历史开启的话是指引用所有对话消息?

对话轮次是对模型使用会话历史时的配置。这里我们加一个开关,默认开启,可以默认给用添加一个

---
{{ .history }}
The above content is the chat history. Please answer based on it.

@bjwswang
Copy link
Collaborator Author

@liutianyi0801

@bjwswang
Copy link
Collaborator Author

已有其他方案

@yunti-bot
Copy link
Collaborator

@bjwswang


This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

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