feat(agent): Release agent SDK (#1396)

This commit is contained in:
Fangyin Cheng
2024-04-10 22:44:53 +08:00
committed by GitHub
parent 37e7c0151b
commit df80bc2079
152 changed files with 5680 additions and 6114 deletions

View File

@@ -1 +1,33 @@
from .common.schema import PluginStorageType
"""DB-GPT Multi-Agents Module."""
from .actions.action import Action, ActionOutput # noqa: F401
from .core.agent import ( # noqa: F401
Agent,
AgentContext,
AgentGenerateContext,
AgentMessage,
)
from .core.base_agent import ConversableAgent # noqa: F401
from .core.llm.llm import LLMConfig # noqa: F401
from .core.schema import PluginStorageType # noqa: F401
from .core.user_proxy_agent import UserProxyAgent # noqa: F401
from .memory.gpts_memory import GptsMemory # noqa: F401
from .resource.resource_api import AgentResource, ResourceType # noqa: F401
from .resource.resource_loader import ResourceLoader # noqa: F401
__ALL__ = [
"Agent",
"AgentContext",
"AgentGenerateContext",
"AgentMessage",
"ConversableAgent",
"Action",
"ActionOutput",
"LLMConfig",
"GptsMemory",
"AgentResource",
"ResourceType",
"ResourceLoader",
"PluginStorageType",
"UserProxyAgent",
]