docs: 调整文档中图片位置并删除重复内容
This commit is contained in:
@@ -665,13 +665,6 @@ if __name__ == "__main__":
|
|||||||
print("\033[92mAssistant: \033[0m", response) # 绿色显示AI助手回答
|
print("\033[92mAssistant: \033[0m", response) # 绿色显示AI助手回答
|
||||||
```
|
```
|
||||||
|
|
||||||
运行 `python demo.py` 后,你可以开始提问。如果问题需要调用工具,Agent 会自动处理。
|
|
||||||
|
|
||||||
<div align='center'>
|
|
||||||
<img src="https://raw.githubusercontent.com/datawhalechina/happy-llm/main/docs/images/7-images/7-3-streamlit-demo.png" alt="alt text" width="80%">
|
|
||||||
<p>图7.10 Agent 工作流程</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
**示例交互:**
|
**示例交互:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -696,6 +689,10 @@ User: exit
|
|||||||
|
|
||||||
另外,我们也准备了一份可以展示的 Streamlit 应用,可以运行在本地,展示 Agent 的功能。`streamlit run web_demo.py` 来运行,以下为 Agent 运行效果。
|
另外,我们也准备了一份可以展示的 Streamlit 应用,可以运行在本地,展示 Agent 的功能。`streamlit run web_demo.py` 来运行,以下为 Agent 运行效果。
|
||||||
|
|
||||||
|
<div align='center'>
|
||||||
|
<img src="https://raw.githubusercontent.com/datawhalechina/happy-llm/main/docs/images/7-images/7-3-streamlit-demo.png" alt="alt text" width="80%">
|
||||||
|
<p>图7.10 Agent 工作流程</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
**参考文献**
|
**参考文献**
|
||||||
|
|||||||
Reference in New Issue
Block a user