Skip to main content

KnowledgeGraph

What it is

  • A thin subclass wrapper around naas_abi.ontologies.modules.NexusPlatformOntology.KnowledgeGraph.
  • Intended as an action class placeholder for extending/overriding behavior.

Public API

  • class KnowledgeGraph(_KnowledgeGraph)
    • Inherits all behavior from the upstream _KnowledgeGraph.
    • actions(self)
      • Placeholder method intended for custom logic.
      • Currently does nothing (pass).

Configuration/Dependencies

  • Depends on naas_abi.ontologies.modules.NexusPlatformOntology.KnowledgeGraph being importable.

Usage

from naas_abi.ontologies.classes.ontology_naas_ai.nexus.KnowledgeGraph import KnowledgeGraph

kg = KnowledgeGraph()
kg.actions() # no-op

Caveats

  • actions() is not implemented; calling it has no effect.