diff --git a/docs/chapter7/第七章 大模型应用.md b/docs/chapter7/第七章 大模型应用.md index db45cc6..b4d09d4 100644 --- a/docs/chapter7/第七章 大模型应用.md +++ b/docs/chapter7/第七章 大模型应用.md @@ -665,13 +665,6 @@ if __name__ == "__main__": print("\033[92mAssistant: \033[0m", response) # 绿色显示AI助手回答 ``` -运行 `python demo.py` 后,你可以开始提问。如果问题需要调用工具,Agent 会自动处理。 - -
- alt text -

图7.10 Agent 工作流程

-
- **示例交互:** ```bash @@ -696,6 +689,10 @@ User: exit 另外,我们也准备了一份可以展示的 Streamlit 应用,可以运行在本地,展示 Agent 的功能。`streamlit run web_demo.py` 来运行,以下为 Agent 运行效果。 +
+ alt text +

图7.10 Agent 工作流程

+
**参考文献**