feat(Agent): 新增维基百科搜索和温度查询工具并实现web界面
- 添加search_wikipedia和get_current_temperature工具函数 - 实现基于Streamlit的web交互界面 - 更新requirements.txt添加相关依赖 - 修复PROMPT_TEMPLATE变量名拼写错误 - 移除不再使用的工具函数 - 添加web界面截图到文档
This commit is contained in:
14
docs/chapter7/RAG/requirements.txt
Normal file
14
docs/chapter7/RAG/requirements.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
openai
|
||||
zhipuai
|
||||
numpy
|
||||
python-dotenv
|
||||
torch
|
||||
torchvision
|
||||
torchaudio
|
||||
transformers
|
||||
tqdm
|
||||
PyPDF2
|
||||
markdown
|
||||
html2text
|
||||
tiktoken
|
||||
beautifulsoup4
|
||||
Reference in New Issue
Block a user