"""Info Extractor - 基于大模型的结构化信息提取框架."""

from src.annotator import (
    build_constraint_transform_prompt,
    build_raw_text_prompt,
    escape_field,
    flatten_instance_for_annotation,
    format_annotation_items_text,
    parse_constraint_transform_response,
    parse_raw_text_response,
    unescape_field,
)
from src.extractor import InfoExtractor
from src.validator import validate

__all__ = [
    "InfoExtractor",
    "validate",
    "escape_field",
    "unescape_field",
    "flatten_instance_for_annotation",
    "format_annotation_items_text",
    "build_raw_text_prompt",
    "parse_raw_text_response",
    "build_constraint_transform_prompt",
    "parse_constraint_transform_response",
]
