Skip to content

⛳️ Feat Request: Add UI components and protocols related to conversation cards. #88

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

Open
5 tasks
hustcc opened this issue Apr 11, 2025 · 4 comments
Open
5 tasks

Comments

@hustcc
Copy link
Member

hustcc commented Apr 11, 2025

介绍

Ant Design X 提供了非常好的对话应用的 UI 组件,包含有消息发送,对话卡片容器,会话列表相关等。但是 AI Chat 容器的组件,缺失一些卡片内容的 UI 和协议。

比如:卡片中承载 thinking 的输出样式,调用工具的 UI 组件等。

设计

GPT-Vis 提供了可视化相关组件和协议,实际去开发应用的时候,还是会自定义不少的 ui 组件和协议,让 LLM 输出更友好。所以,需要额外提供以下协议和组件:

  • think
  • step
  • reference
  • tool
  • ...

还需要什么,可以讨论!

要求

  • 设计美观,符合 AI 应用的视觉交互习惯
  • 视觉上,各个组件能互相组合起来
  • 良好的流失输出效果
@hustcc hustcc changed the title Feat Request: Add UI components and protocols related to conversation cards. ⛳️ Feat Request: Add UI components and protocols related to conversation cards. Apr 11, 2025
@hustcc
Copy link
Member Author

hustcc commented Apr 14, 2025

@ljwswust
Copy link

对思考内容的处理,是否可以对这个思考标签加上自定义的功能。例如当有使用Agent工作流,在某些场景原来think标签无法正常产出了,通过Agent手动处理后把思考内容放到到自定义的 thinking 标签了

@hustcc
Copy link
Member Author

hustcc commented Apr 16, 2025

对思考内容的处理,是否可以对这个思考标签加上自定义的功能。例如当有使用Agent工作流,在某些场景原来think标签无法正常产出了,通过Agent手动处理后把思考内容放到到自定义的 thinking 标签了

是指之前有 think 标签了,避免重复,能够支持自定义标签嘛?

@ljwswust
Copy link

Image 经过工作流处理后 think 标签变成了 thinking 标签(当然中间为什么出现了这样的转换,我这边不是很清楚)。前端同学既适配了默认的 think 标签,也适配 thinking 标签,所以如果组件能够自定义思考内容的标签,是否是更友好

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

2 participants