"""
元数据核心模块
提供元数据处理、查询、图谱分析等功能
"""

# 从meta_data.py导入所有功能
from app.core.meta_data.meta_data import (
    convert_tag_ids_to_tags,
    get_file_content,
    get_formatted_time,
    get_tags_by_ids,
    handle_id_unstructured,
    handle_txt_graph,
    infer_column_type,
    llm_client,
    meta_impact_graph,
    meta_kinship_graph,
    meta_list,
    parse_entity_relation,
    parse_keyword,
    parse_text,
    solve_unstructured_data,
    text_resource_solve,
    translate_and_parse,
)

# 从 redundancy_check.py 导入冗余检测功能
from app.core.meta_data.redundancy_check import (
    build_meta_snapshot,
    check_redundancy_for_add,
    check_redundancy_for_update,
    normalize_tag_inputs,
)

# 定义模块导出的所有函数
__all__ = [
    "get_formatted_time",
    "translate_and_parse",
    "llm_client",
    "infer_column_type",
    "meta_list",
    "handle_id_unstructured",
    "get_file_content",
    "parse_text",
    "parse_keyword",
    "text_resource_solve",
    "meta_kinship_graph",
    "meta_impact_graph",
    "parse_entity_relation",
    "handle_txt_graph",
    "solve_unstructured_data",
    # 冗余检测
    "check_redundancy_for_add",
    "check_redundancy_for_update",
    "normalize_tag_inputs",
    "build_meta_snapshot",
    # 标签转换
    "get_tags_by_ids",
    "convert_tag_ids_to_tags",
]
