cognee/cognee/api/v1/ontologies/__init__.py
Fahad Shoaib a4a9e76246 feat: add ontology endpoint in REST API
- Add POST /api/v1/ontologies endpoint for file upload
  - Add GET /api/v1/ontologies endpoint for listing ontologies
  - Implement OntologyService for file management and metadata
  - Integrate ontology_key parameter in cognify endpoint
  - Update RDFLibOntologyResolver to support file-like objects
  - Add essential test suite for ontology endpoints
2025-11-02 17:05:03 +05:00

4 lines
No EOL
154 B
Python

from .ontologies import OntologyService
from .routers.get_ontology_router import get_ontology_router
__all__ = ["OntologyService", "get_ontology_router"]