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

知识库的问题下的设定了文本、html、图文格式的多个答案,用户命中问题后,并没有发送将html格式的答案进行发送,只发送了文本和图文格式的答案 #87

Open
kely33 opened this issue May 26, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@kely33
Copy link

kely33 commented May 26, 2023

No description provided.

@kely33 kely33 added the bug Something isn't working label May 26, 2023
@hailiang-wang
Copy link
Member

是在春松客服中使用吗?
现在春松客服的机器人客服没支持 HTML 类型的答案。
春松客服只支持了文本和图片类型的答案。

@hailiang-wang
Copy link
Member

您可以在这里看到,在机器人客服实现中,春松客服请求 Chatopera 云服务:

https://github.com/cskefu/cskefu/blob/9454a4c9fd46f8d165f60f5d4f29f705dab66d40/contact-center/app/src/main/java/com/cskefu/cc/plugins/chatbot/ChatbotEventSubscription.java#L265

在处理访问值时,只处理了 plain text 和 image。没有处理 html type 类型的答案。

欢迎提交 PR 来实现这个功能。

@hailiang-wang hailiang-wang added enhancement New feature or request and removed bug Something isn't working labels May 26, 2023
@kely33
Copy link
Author

kely33 commented May 26, 2023

是的,是在春松客服上使用的,因为我看到chatOpera后台的知识库里的问题可以有三个格式的答案可以设置,分别为文本,html和图文

@hailiang-wang
Copy link
Member

春松客服应该支持机器人知识库的 HTML 类型的答案。
鉴于春松客服是开源软件,欢迎提交 PR,我们将很乐意合并该功能。

以下链接介绍了如何提交 PR
https://www.cskefu.com/2022/10/30/how-to-sign-dco-for-pr/

如何搭建开发环境
https://docs.cskefu.com/docs/osc/engineering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants