docs: update product platform docs

This commit is contained in:
Jerry Z H
2024-12-27 15:32:55 +08:00
parent 08dd76fa1f
commit 83b8c51d7d
2 changed files with 14 additions and 14 deletions

View File

@@ -34,25 +34,25 @@ product = ['sample_standard_app.platform.difizen.product']
### 启动产品化服务
运行sample_standard_app/boostrap下的[product_application](../../../../../examples/sample_standard_app/boostrap/platform/product_application.py)文件,一键启动。
![img.png](../../_picture/product_start.png)
![img.png](../../../_picture/product_start.png)
启动成功后自动跳转产品化主页主页包含系统预制和您自定义的Agent/Tool/Knowledge产品模块。
![agentuniverse_product_homepage](../../_picture/agentuniverse_product_homepage.png)
![agentuniverse_product_homepage](../../../_picture/agentuniverse_product_homepage.png)
### 体验智能体
如上图所示点击peer多智能体组的右一聊天按钮即进入会话页面。
会话管理系统包含近10次智能体会话历史记录可以直接进行多轮对话体验peer多智能体组能力默认流式对话多智能体组包含运行中间思考过程
![agentuniverse_product_agent_chat](../../_picture/agentuniverse_product_agent_chat.png)
![agentuniverse_product_agent_chat](../../../_picture/agentuniverse_product_agent_chat.png)
### 调试智能体
在产品化主页,点击智能体的左一编辑按钮,即进入在线调试页面。
可以在线调试智能体的Prompt/Tool/Knowledge/LLM等点击保存按钮aU-product将配置自动保存到对应的yaml文件中。
![agentuniverse_product_agent_editor](../../_picture/agentuniverse_product_agent_editor.png)
![agentuniverse_product_agent_editor](../../../_picture/agentuniverse_product_agent_editor.png)
点击上图中右上角的调试按钮可查看智能体具体调用过程的Token消耗/调用链条/时延等Trace信息。
![agentuniverse_product_agent_trace](../../_picture/agentuniverse_product_agent_trace.png)
![agentuniverse_product_agent_trace](../../../_picture/agentuniverse_product_agent_trace.png)
## 配置agentUniverse产品模块
### 创建产品模块

View File

@@ -14,7 +14,7 @@ pip install magent-ui==0.1.17 ruamel.yaml --force-reinstall
```
### 创建workflow智能体
产品化主页点击智能体的右一创建智能体按钮选择workflow类型智能体。
![agentuniverse_product_create_workflow_agent](../../_picture/create_workflow_agent.png)
![agentuniverse_product_create_workflow_agent](../../../_picture/create_workflow_agent.png)
### workflow节点类型
当前aU产品化平台支持7种节点类型分别是
@@ -36,16 +36,16 @@ pip install magent-ui==0.1.17 ruamel.yaml --force-reinstall
```
workflow完整流程如下图
![agentuniverse_product_workflow_agent](../../_picture/workflow_agent.png)
![agentuniverse_product_workflow_agent](../../../_picture/workflow_agent.png)
aU自动生成的智能体配置文件如下图
![agentuniverse_product_workflow_agent_yaml](../../_picture/workflow_agent_yaml.png)
![agentuniverse_product_workflow_agent_yaml](../../../_picture/workflow_agent_yaml.png)
### 运行workflow智能体
点击保存按钮后开始尝试运行workflow智能体。
运行流程如图所示:
![agentuniverse_product_run_workflow_agent](../../_picture/run_workflow_agent.png)
![agentuniverse_product_run_workflow_agent](../../../_picture/run_workflow_agent.png)
## 表单智能体搭建功能
@@ -54,13 +54,13 @@ aU自动生成的智能体配置文件如下图
aU将在本地自动生成对应的agent yaml文件帮助用户完成开发工作。
![agentuniverse_product_create_agent](../../_picture/create_agent.png)
![agentuniverse_product_create_agent](../../../_picture/create_agent.png)
### 运行智能体
点击保存按钮后开始尝试运行创建的示例RAG智能体。
运行流程如图所示:
![agentuniverse_product_run_demo_rag_agent](../../_picture/run_demo_rag_agent.png)
![agentuniverse_product_run_demo_rag_agent](../../../_picture/run_demo_rag_agent.png)
## 自定义知识录入
### 创建自定义知识库
@@ -68,7 +68,7 @@ aU将在本地自动生成对应的agent yaml文件帮助用户完成开发
aU将在本地自动生成对应的knowledge和store yaml文件帮助用户完成开发工作。
![agentuniverse_product_create_knowledge](../../_picture/create_knowledge.png)
![agentuniverse_product_create_knowledge](../../../_picture/create_knowledge.png)
### 上传知识
指定知识库,点击上传按钮,上传本地知识文件。
@@ -79,12 +79,12 @@ aU将在本地自动生成对应的knowledge和store yaml文件帮助用户
当前支持知识类型为pdf/docx/pptx/txt
```
上传操作如图所示:
![agentuniverse_product_upload_knowledge](../../_picture/upload_knowledge.png)
![agentuniverse_product_upload_knowledge](../../../_picture/upload_knowledge.png)
## 自定义插件录入
### 创建自定义插件
产品化主页切换到插件tab点击右一创建插件按钮创建自定义插件。
![agentuniverse_product_create_plugin](../../_picture/create_plugin.png)
![agentuniverse_product_create_plugin](../../../_picture/create_plugin.png)
创建成功后即可在workflow智能体的工具节点或表单智能体的工具模块中使用对应工具为智能体提供强大的第三方插件能力支持。