Spaces:
Running
Running
Download agentgraph/shared/models/__init__.py from holistic-ai/AgentGraph: direct link, hf CLI and curl.
- Browser
- Download file 480 Bytes
-
https://huggingface.co/spaces/holistic-ai/AgentGraph/resolve/main/agentgraph/shared/models/__init__.py
- Command line
-
hf download hf://spaces/holistic-ai/AgentGraph/agentgraph/shared/models/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/holistic-ai/AgentGraph/resolve/main/agentgraph/shared/models/__init__.py
480 Bytes
| """ | |
| Models Package for Knowledge Extraction | |
| This package contains schema models organized by type: | |
| - reference_based: Models that use content references and line numbers | |
| - direct_based: Models that use direct text content | |
| """ | |
| # Import commonly used models for backward compatibility | |
| from .reference_based import Entity, Relation, KnowledgeGraph, ContentReference, Failure | |
| __all__ = [ | |
| "Entity", | |
| "Relation", | |
| "KnowledgeGraph", | |
| "ContentReference", | |
| "Failure" | |
| ] |