mirror of
https://github.com/agentuniverse-ai/agentUniverse.git
synced 2026-02-09 01:59:19 +08:00
Merge branch 'master' into rar
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 600 KiB After Width: | Height: | Size: 298 KiB |
@@ -65,9 +65,9 @@ For instance, in the case of demo_agent, we first identify the corresponding age
|
||||
After determining the agent used in the example, we go to the project agent directory (the directory path is: agentUniverse/examples/sample_standard_app/intelligence/agentic/agent/agent_instance) and find the corresponding agent configuration file demo_agent.yaml. Note that the `name` item in the agent yaml configuration is the name of the agent invoked in the test script.
|
||||

|
||||
|
||||
Let's further examine the other configuration details in the demo_agent.yaml file, focusing on the llm_model configuration item. This item specifies the LLM used by the agent. The demo_agent uses the qwen2.5-72b-instruct as the model core. We further refer to the llm directory of the project (directory path: agentUniverse/examples/sample_standard_app/intelligence/agentic/llm) to find the corresponding llm configuration file qwen_2_5_72b_instruct.yaml.
|
||||
Let's further examine the other configuration details in the demo_agent.yaml file, focusing on the llm_model configuration item. This item specifies the LLM used by the agent. The demo_agent uses the qwen3-32b as the model core. We further refer to the llm directory of the project (directory path: agentUniverse/examples/sample_standard_app/intelligence/agentic/llm/buildin/qwen/qwen3) to find the corresponding llm configuration file qwen3_32b.yaml.
|
||||
|
||||

|
||||

|
||||
|
||||
#### switch the llm
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@ reader = ['sample_standard_app.intelligence.agentic.knowledge.reader']
|
||||
- [default_pdf_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/pdf_reader.yaml): Reads text content from local PDF files.
|
||||
- [default_pptx_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/pptx_reader.yaml): Reads text content from local PPTX files.
|
||||
- [default_txt_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/txt_reader.yaml): Reads text content from TXT files.
|
||||
- [default_zip_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/zip_reader.yaml): Reads ZIP archive files, supports nested ZIP structures and multiple file formats.
|
||||
- [default_web_pdf_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/web_pdf_reader.yaml): Reads text content from PDF files found on the web.
|
||||
- [default_markdown_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/markdown_reader.yaml): Reads text content from local Markdown files.
|
||||
- [default_rar_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/rar_reader.yaml): Reads text content from RAR archive files (.rar).
|
||||
@@ -52,6 +52,7 @@ reader = ['sample_standard_app.intelligence.agentic.knowledge.reader']
|
||||
- [default_pdf_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/pdf_reader.yaml):读取本地Pdf文件中的文本内容
|
||||
- [default_pptx_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/pptx_reader.yaml):读取本地Pptx文件中的文本内容
|
||||
- [default_txt_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/txt_reader.yaml):读取txt文件中的文本内容
|
||||
- [default_zip_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/zip_reader.yaml):读取ZIP压缩包文件,支持嵌套ZIP结构和多种文件格式
|
||||
- [default_web_pdf_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/web_pdf_reader.yaml):读取本地Docx文件中的文本内容
|
||||
- [default_markdown_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/markdown_reader.yaml):读取本地Markdown文件中的文本内容
|
||||
- [default_rar_reader](../../../../../../agentuniverse/agent/action/knowledge/reader/file/rar_reader.yaml):读取 RAR 压缩文件(.rar)中的文本内容。
|
||||
@@ -68,9 +68,9 @@ agentUniverse/examples/sample_standard_app/intelligence/test/run_demo_agent.py
|
||||
确定example使用的agent后,我们到该项目的agent目录(目录路径为:agentUniverse/examples/sample_standard_app/intelligence/agentic/agent/agent_instance)下找到对应的agent配置 demo_agent.yaml,注意agent配置中的name项即为测试脚本中调用的agent名称
|
||||

|
||||
|
||||
我们进一步查看 demo_agent.yaml 中的其他配置详情,在这里请进一步关注 llm_model 这一个配置项,这一项为配置选择agent所使用的llm,demo_agent 中使用了 qwen2.5-72b-instruct 这一模型实例作为agent的模型内核。我们进一步到该项目的llm目录(目录路径为:agentUniverse/examples/sample_standard_app/intelligence/agentic/llm)下找到对应的llm配置 qwen_2_5_72b_instruct.yaml。
|
||||
我们进一步查看 demo_agent.yaml 中的其他配置详情,在这里请进一步关注 llm_model 这一个配置项,这一项为配置选择 agent 所使用的 llm,demo_agent 中使用了 qwen3-32b 这一模型实例作为 agent 的模型内核。我们进一步到该项目的 llm 目录(目录路径为:agentUniverse/examples/sample_standard_app/intelligence/agentic/llm/buildin/qwen/qwen3)下找到对应的 llm 配置 qwen3_32b.yaml。
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
#### 切换模型
|
||||
|
||||
Reference in New Issue
Block a user