Skip to content

Knowledge manager

KnowledgeManager

Bases: ComponentManagerBase

The KnowledgeManager class, which is used to manage the knowledge.

Source code in agentuniverse/agent/action/knowledge/knowledge_manager.py
Python
@singleton
class KnowledgeManager(ComponentManagerBase):
    """The KnowledgeManager class, which is used to manage the knowledge."""

    def __init__(self):
        """Initialize the KnowledgeManager."""
        super().__init__(ComponentEnum.KNOWLEDGE)

__init__()

Initialize the KnowledgeManager.

Source code in agentuniverse/agent/action/knowledge/knowledge_manager.py
Python
def __init__(self):
    """Initialize the KnowledgeManager."""
    super().__init__(ComponentEnum.KNOWLEDGE)