Skip to content

Conversation

@Eventidus
Copy link

实现在私聊和群聊中都能根据上下文对话回答问题的功能。

@bestony
Copy link
Owner

bestony commented Feb 11, 2023

@Iambihua 是否可以请你解决一下冲突,此外, 可以关注一下如何清除当前的上下文?毕竟使用了数据库,可以考虑设定一个时间范围来作为上下文的key,比如 10 mins 自动清除上下文数据。

@bestony bestony changed the title update event.js 支持基于 AirCode DB 的上下文存储 & 持续对话能力 Feb 11, 2023
@bestony bestony mentioned this pull request Feb 11, 2023
@Eventidus
Copy link
Author

不好意思,最近项目DDL,再加上个人事务,甚是无力顾及。

@Jeamorg
Copy link

Jeamorg commented Feb 13, 2023

@Iambihua 是否可以请你解决一下冲突,此外, 可以关注一下如何清除当前的上下文?毕竟使用了数据库,可以考虑设定一个时间范围来作为上下文的key,比如 10 mins 自动清除上下文数据。

如果是个人使用的话我觉得不用清除数据库也可以

@KKGo1999
Copy link
Contributor

最近用aircode,感觉有点不稳了,偶尔遇到没回复。

增加了新的DB操作之后,担心会加重这个问题

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

Successfully merging this pull request may close these issues.

5 participants