-
Notifications
You must be signed in to change notification settings - Fork 793
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
怎么优雅的将对话记录保存 #253
Comments
用户会话用一个唯一标示关联 |
没看太懂,请问有demo可以看下嘛
发自我的 iPhone
在 2024年2月1日,11:02,JsonSong89 ***@***.***> 写道:
用户会话用一个唯一标示关联
然后用一个定时过期的map保存会话,key就是用户会话标识,value就是固定长度的队列保存会话记录
在调用openai的completions前后做切片
—
Reply to this email directly, view it on GitHub<#253 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMLOQWWBKEKRIPPWGFAVP73YRMAVBAVCNFSM6AAAAABBFJZUK2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQGQYTCOBRHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
没看太懂,请问有demo可以看下嘛
发自我的 iPhone
在 2024年2月1日,11:02,JsonSong89 ***@***.***> 写道:
用户会话用一个唯一标示关联
然后用一个定时过期的map保存会话,key就是用户会话标识,value就是固定长度的队列保存会话记录
在调用openai的completions前后做切片
—
Reply to this email directly, view it on GitHub<#253 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMLOQWWBKEKRIPPWGFAVP73YRMAVBAVCNFSM6AAAAABBFJZUK2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQGQYTCOBRHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
再controller层好还是再listen中好
The text was updated successfully, but these errors were encountered: