-
Notifications
You must be signed in to change notification settings - Fork 21
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
支持动态变更头像吗 #10
Comments
初始化 ChatBox 的时候提供一个 user_avatar 参数即可。 |
你好,怎么初始化提供参数,我是直接用的langchain-chatchat的代码 |
你好,我确实这么做过,但是貌似只有一个全局的设置,不能根据每个人用户的情况动态设置,当然我用的是langchain-chatchat的代码,他里面每次创建新回话,并不会把chatbox初始化一次,是不是需要另外重写,对每一个会话都创建一个chatbox对象? |
dialogue.py文件里面chat_box初始化里面,可以添加一个user_avatar的属性,可以设置自定义的头像 |
比如,登录用户是多个,每个人都有自己的头像,所以在对应聊天问答过程中用户头像能使用用户设置的头像吗,现在好像就是默认的初始化头像,后期不能针对每个人用户自适应的变更,请问这个可以做吗?
The text was updated successfully, but these errors were encountered: