mirror of
https://github.com/agentuniverse-ai/agentUniverse.git
synced 2026-02-09 01:59:19 +08:00
fix: regression test bug fixes before new release
This commit is contained in:
@@ -48,8 +48,6 @@ class AgentUniverseProduct(object):
|
||||
|
||||
# load the configuration file
|
||||
configer = Configer(path=config_path).load()
|
||||
app_configer = AppConfiger().load_by_configer(configer)
|
||||
self.__config_container.app_configer = app_configer
|
||||
|
||||
# init product tables (session and message)
|
||||
self.__init_product_tables()
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# !/usr/bin/env python3
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# @Time :
|
||||
# @Author :
|
||||
# @Email :
|
||||
# @FileName: __init__.py.py
|
||||
@@ -1,27 +0,0 @@
|
||||
# !/usr/bin/env python3
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# @Time :
|
||||
# @Author :
|
||||
# @Email :
|
||||
# @FileName: product_application.py
|
||||
|
||||
from agentuniverse.base.agentuniverse import AgentUniverse
|
||||
from agentuniverse_product.agentuniverse_product import AgentUniverseProduct
|
||||
|
||||
|
||||
class ProductApplication:
|
||||
"""
|
||||
Product application: agentUniverse-product portal.
|
||||
|
||||
After startup, the system redirects to the aU-product homepage by default.
|
||||
"""
|
||||
|
||||
@classmethod
|
||||
def start(cls):
|
||||
AgentUniverse().start(core_mode=True)
|
||||
AgentUniverseProduct().start()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
ProductApplication.start()
|
||||
@@ -1,7 +0,0 @@
|
||||
# !/usr/bin/env python3
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# @Time :
|
||||
# @Author :
|
||||
# @Email :
|
||||
# @FileName: __init__.py.py
|
||||
@@ -1,7 +0,0 @@
|
||||
# !/usr/bin/env python3
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# @Time :
|
||||
# @Author :
|
||||
# @Email :
|
||||
# @FileName: __init__.py.py
|
||||
@@ -1,7 +0,0 @@
|
||||
# !/usr/bin/env python3
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# @Time :
|
||||
# @Author :
|
||||
# @Email :
|
||||
# @FileName: __init__.py.py
|
||||
@@ -1,7 +0,0 @@
|
||||
# !/usr/bin/env python3
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# @Time :
|
||||
# @Author :
|
||||
# @Email :
|
||||
# @FileName: __init__.py.py
|
||||
@@ -1,13 +0,0 @@
|
||||
id: demo_agent
|
||||
nickname: rag智能体
|
||||
type: AGENT
|
||||
opening_speech: |
|
||||
欢迎使用rag chatbot!根据您的提问,我将结合实时信息及我个人掌握的知识,给您提供合理的解答。
|
||||
你可以这样问我:
|
||||
问题1: 巴黎奥运会中国获得了几块奖牌
|
||||
问题2: 巴菲特为什么减持苹果股票
|
||||
avatar: ../../../resources/rag_agent_logo.png
|
||||
metadata:
|
||||
class: AgentProduct
|
||||
module: agentuniverse_product.base.agent_product
|
||||
type: PRODUCT
|
||||
@@ -1,7 +0,0 @@
|
||||
# !/usr/bin/env python3
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# @Time :
|
||||
# @Author :
|
||||
# @Email :
|
||||
# @FileName: __init__.py.py
|
||||
@@ -1,7 +0,0 @@
|
||||
id: demo_knowledge
|
||||
nickname: 民法/刑法知识库,可以查询民法典/刑法典法律相关内容
|
||||
type: KNOWLEDGE
|
||||
metadata:
|
||||
type: 'PRODUCT'
|
||||
module: 'agentuniverse_product.base.product'
|
||||
class: 'Product'
|
||||
@@ -1,7 +0,0 @@
|
||||
# !/usr/bin/env python3
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# @Time :
|
||||
# @Author :
|
||||
# @Email :
|
||||
# @FileName: __init__.py.py
|
||||
@@ -1,7 +0,0 @@
|
||||
id: default_deepseek_llm
|
||||
nickname: 深度求索系列大模型
|
||||
type: LLM
|
||||
metadata:
|
||||
type: 'PRODUCT'
|
||||
module: 'agentuniverse_product.base.product'
|
||||
class: 'Product'
|
||||
@@ -1,7 +0,0 @@
|
||||
id: demo_llm
|
||||
nickname: aU默认模型列表
|
||||
type: LLM
|
||||
metadata:
|
||||
type: 'PRODUCT'
|
||||
module: 'agentuniverse_product.base.product'
|
||||
class: 'Product'
|
||||
@@ -1,7 +0,0 @@
|
||||
# !/usr/bin/env python3
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# @Time :
|
||||
# @Author :
|
||||
# @Email :
|
||||
# @FileName: __init__.py.py
|
||||
@@ -1,12 +0,0 @@
|
||||
id: demo_search_plugin
|
||||
nickname: 谷歌web搜索插件
|
||||
avatar: ../../../resources/google_search.png
|
||||
description: 谷歌web搜索插件
|
||||
type: PLUGIN
|
||||
toolset:
|
||||
- demo_search_tool
|
||||
- mock_search_tool
|
||||
metadata:
|
||||
class: PluginProduct
|
||||
module: agentuniverse_product.base.plugin_product
|
||||
type: PRODUCT
|
||||
@@ -1,11 +0,0 @@
|
||||
id: python_runner_plugin
|
||||
nickname: python代码相关插件
|
||||
avatar: ../../../resources/python_tool.png
|
||||
description: python代码相关插件
|
||||
type: PLUGIN
|
||||
toolset:
|
||||
- python_runner
|
||||
metadata:
|
||||
class: PluginProduct
|
||||
module: agentuniverse_product.base.plugin_product
|
||||
type: PRODUCT
|
||||
@@ -1,7 +0,0 @@
|
||||
# !/usr/bin/env python3
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# @Time :
|
||||
# @Author :
|
||||
# @Email :
|
||||
# @FileName: __init__.py.py
|
||||
@@ -1,8 +0,0 @@
|
||||
id: demo_search_tool
|
||||
nickname: 谷歌web搜索工具
|
||||
type: TOOL
|
||||
avatar: ../../../resources/google_search.png
|
||||
metadata:
|
||||
type: 'PRODUCT'
|
||||
module: 'agentuniverse_product.base.product'
|
||||
class: 'Product'
|
||||
@@ -1,7 +0,0 @@
|
||||
id: mock_search_tool
|
||||
nickname: mock搜索数据工具
|
||||
type: TOOL
|
||||
metadata:
|
||||
type: 'PRODUCT'
|
||||
module: 'agentuniverse_product.base.product'
|
||||
class: 'Product'
|
||||
@@ -1,8 +0,0 @@
|
||||
id: python_runner
|
||||
nickname: 执行python代码工具
|
||||
type: TOOL
|
||||
avatar: ../../../resources/python_tool.png
|
||||
metadata:
|
||||
type: 'PRODUCT'
|
||||
module: 'agentuniverse_product.base.product'
|
||||
class: 'Product'
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 93 KiB |
@@ -1,7 +0,0 @@
|
||||
# !/usr/bin/env python3
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
# @Time :
|
||||
# @Author :
|
||||
# @Email :
|
||||
# @FileName: __init__.py.py
|
||||
Reference in New Issue
Block a user