Skip to content

Commit

Permalink
添加chainlit Markdown文件 (#683)
Browse files Browse the repository at this point in the history
Co-authored-by: yinjiaqi <[email protected]>
  • Loading branch information
C9luster and yinjiaqi authored Dec 23, 2024
1 parent 55c8f6d commit 35333a2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ FETCH_HEAD
# chainlit
.chainlit
# chainlit.md is generated by chainlit if not found
chainlit.md
# chainlit.md

# sqlite
*.db
Expand Down
24 changes: 24 additions & 0 deletions python/utils/chainlit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 欢迎使用AppBuilder-SDK🚀
您好,欢迎您体验AppBuilder-SDK的Chainlit可视化服务化功能。

## 什么是AppBuilder-SDK👋
百度智能云千帆AppBuilder-SDK是[百度智能云千帆AppBuilder](https://appbuilder.cloud.baidu.com/)面向AI原生应用开发者提供的一站式开发平台的客户端SDK。

我们提供自底向上的:基础组件、流程编排、端到端应用 三类功能。使用百度智能云千帆AppBuilder-SDK,你可以:

- 配合百度智能云千帆AppBuilder平台[网页端](https://console.bce.baidu.com/ai_apaas/app),分钟级在本地搭建包含百度工业实践的`端到端的AI原生应用`
- 配合 `基础组件` & `流程编排`,积木式搭建个性化的Assistant + FunctionCall应用
- 提供 `API调用` & `交互式窗口` 两种服务化部署方式,支持快速上云,平滑嵌入到你的产品中

## 如何使用AppBuilder-SDK & Chainlit可视化功能💻
当前SDK中的`AgentRuntime`模块基于Chainlit实现了基础的可视化功能,支持AppBuilderClient + 能力组件实现可视化交互。
- `chainlit_demo`接口支持基础组件的简单交互
- `chainlit_agent`接口支持AppBuilderClient的进阶交互,提供新建会话和上传文件的功能

如果对于可视化有更多需求,可以参考AppBuilder SDK中的代码,基于Chainlit进行二次开发。

## 链接 🔗
- [AppBuilder官网](https://appbuilder.cloud.baidu.com/)
- [AppBuilder-SDK开源代码仓库](https://github.com/baidubce/app-builder)
- [AppBuilder文档中心](https://cloud.baidu.com/doc/AppBuilder/index.html)
- [Chainlit文档中心](https://docs.chainlit.io/get-started/overview)

0 comments on commit 35333a2

Please sign in to comment.