mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 13:29:37 +08:00
31 lines
833 B
Python
31 lines
833 B
Python
"""
|
|
Question Tools - Question generation system toolset
|
|
|
|
Tools for PDF parsing, question extraction, and mimic entrypoint.
|
|
"""
|
|
|
|
from .mineru_backend import parse_pdf_to_workdir
|
|
from .mineru_config import MinerUConfig, MinerUError, resolve_mineru_config
|
|
from .pdf_parser import parse_pdf_with_mineru
|
|
from .question_extractor import extract_questions_from_paper
|
|
|
|
|
|
async def mimic_exam_questions(*args, **kwargs):
|
|
"""
|
|
Lazy wrapper to avoid circular imports with question coordinator.
|
|
"""
|
|
from .exam_mimic import mimic_exam_questions as _mimic_exam_questions
|
|
|
|
return await _mimic_exam_questions(*args, **kwargs)
|
|
|
|
|
|
__all__ = [
|
|
"MinerUConfig",
|
|
"MinerUError",
|
|
"parse_pdf_to_workdir",
|
|
"parse_pdf_with_mineru",
|
|
"resolve_mineru_config",
|
|
"extract_questions_from_paper",
|
|
"mimic_exam_questions",
|
|
]
|