wu981526092's picture
🚀 Deploy AgentGraph: Complete agent monitoring and knowledge graph system
c2ea5ed
Raw
History Blame Contribute Delete
1.45 kB
"""
Knowledge Graph Extraction and Processing
This module handles the second stage of the agent monitoring pipeline:
- Knowledge graph extraction from text chunks
- Multi-agent crew-based knowledge extraction
- Hierarchical batch merging of knowledge graphs
- Knowledge graph comparison and analysis
Functional Organization:
- knowledge_extraction: Multi-agent crew-based knowledge extraction
- graph_processing: Knowledge graph processing and sliding window analysis
- graph_utilities: Graph comparison, merging, and utility functions
Usage:
from agentgraph.extraction.knowledge_extraction import agent_monitoring_crew
from agentgraph.extraction.graph_processing import SlidingWindowMonitor
from agentgraph.extraction.graph_utilities import KnowledgeGraphMerger
"""
# Import main components
from .knowledge_extraction import (
agent_monitoring_crew_factory,
create_agent_monitoring_crew,
extract_knowledge_graph_with_context
)
from .graph_processing import SlidingWindowMonitor
from .graph_utilities import (
GraphComparisonMetrics, KnowledgeGraphComparator,
KnowledgeGraphMerger
)
__all__ = [
# Knowledge extraction
'agent_monitoring_crew_factory',
'create_agent_monitoring_crew',
'extract_knowledge_graph_with_context',
# Graph processing
'SlidingWindowMonitor',
# Graph utilities
'GraphComparisonMetrics', 'KnowledgeGraphComparator',
'KnowledgeGraphMerger'
]