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

关于开启一个会话和会话中保持会话与重启新会话? #6

Open
RobertWang opened this issue May 21, 2023 · 1 comment

Comments

@RobertWang
Copy link

看了一下文档和代码,没有搞清楚对话过程中,如何保持对话,以及如何重置并开启新会话?请解惑... @XksA-me

@XksA-me
Copy link
Owner

XksA-me commented May 30, 2023

向openai发送请求,传入的 messages 是一个列表,里面可以存储连续对话信息,如果重置直接置空即可。

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