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

多人会话时,会保存会话记录吗? #28

Open
goocarlos opened this issue Feb 12, 2023 · 5 comments
Open

多人会话时,会保存会话记录吗? #28

goocarlos opened this issue Feb 12, 2023 · 5 comments

Comments

@goocarlos
Copy link
Contributor

如果在群聊中使用这个机器人,那么 A、B、C 三人都与其会话,是会根据三个人的上下文、还是一个人的上下文、还是没有上下文?

@Jeamorg
Copy link

Jeamorg commented Feb 12, 2023

如果在群聊中使用这个机器人,那么 A、B、C 三人都与其会话,是会根据三个人的上下文、还是一个人的上下文、还是没有上下文?

现在暂时不会对对话进行存储,对话中上文与下文无任何联系,不久将来可能会支持

@bestony
Copy link
Owner

bestony commented Feb 16, 2023

https://github.com/bestony/ChatGPT-Feishu/pull/30/files#diff-baafbb735d5fad5d153887ec2b2569aa0c487da1bc73bc38597dbf618dc6dc22R295

目前的实现是使用 chatId + senderId 来去重实现的。同一个对话中,不同的人会命中不同的上下文。

@goocarlos
Copy link
Contributor Author

0.0.7 版本不太稳定,群聊里基本不回消息,私聊就 OK。(我回退了)

@Jeamorg
Copy link

Jeamorg commented Feb 16, 2023

0.0.7 版本不太稳定,群聊里基本不回消息,私聊就 OK。(我回退了)

我也有这个问题,私聊偶尔也会不回答

@whatwewant
Copy link

whatwewant commented Feb 20, 2023

如果在群聊中使用这个机器人,那么 A、B、C 三人都与其会话,是会根据三个人的上下文、还是一个人的上下文、还是没有上下文?

@goocarlos

可以试试:https://github.com/go-zoox/chatgpt-for-chatbot-feishu
这个项目可以支持多人一起对话的情况

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

4 participants