Files
microdao-daarion/services/parser-service/app/runtime/__init__.py
Apple 5e7cfc019e feat: create PARSER service skeleton with FastAPI
- Create parser-service/ with full structure
- Add FastAPI app with endpoints (/parse, /parse_qa, /parse_markdown, /parse_chunks)
- Add Pydantic schemas (ParsedDocument, ParsedBlock, ParsedChunk, etc.)
- Add runtime module with model_loader and inference (with dummy parser)
- Add configuration, Dockerfile, requirements.txt
- Update TODO-PARSER-RAG.md with completed tasks
- Ready for dots.ocr model integration
2025-11-15 13:15:08 -08:00

16 lines
310 B
Python

"""
PARSER Runtime module
Handles model loading and inference for dots.ocr
"""
from app.runtime.inference import parse_document, dummy_parse_document
from app.runtime.model_loader import load_model, get_model
__all__ = [
"parse_document",
"dummy_parse_document",
"load_model",
"get_model"
]