Merge branch 'master' into rar

This commit is contained in:
SaladDay
2025-10-31 14:46:48 +08:00
committed by GitHub
471 changed files with 21352 additions and 28 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 600 KiB

After

Width:  |  Height:  |  Size: 298 KiB

View File

@@ -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.
![demo_agent_case_yaml](../../_picture/demo_agent_case_yaml.png)
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.
![demo_llm_yaml](../../_picture/demo_llm_yaml.png)
![qwen3_32b](../../_picture/demo_llm_yaml.png)
#### switch the llm

View File

@@ -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).

View File

@@ -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中的文本内容。

View File

@@ -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_case_yaml](../../_picture/demo_agent_case_yaml.png)
我们进一步查看 demo_agent.yaml 中的其他配置详情,在这里请进一步关注 llm_model 这一个配置项这一项为配置选择agent所使用的llmdemo_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 所使用的 llmdemo_agent 中使用了 qwen3-32b 这一模型实例作为 agent 的模型内核。我们进一步到该项目的 llm 目录目录路径为agentUniverse/examples/sample_standard_app/intelligence/agentic/llm/buildin/qwen/qwen3)下找到对应的 llm 配置 qwen3_32b.yaml。
![qwen_2_5_72b_instruct](../../_picture/demo_llm_yaml.png)
![qwen3_32b](../../_picture/demo_llm_yaml.png)
#### 切换模型