__init__.py

Code Hygiene Score: 75

Issues 1

Zeile Typ Beschreibung
- coupling Klasse hat 23 Dependencies (max: 15)

Dependencies 23

Code

"""
Generators Module - Content Generation for KI-System.

Split from generate.py for better maintainability (SRP).
"""

from .config_loader import (
    get_author_profile,
    get_config_item,
    get_contract,
    get_order,
    get_prompt,
    get_structure,
)
from .content_generator import build_generation_prompt, call_llm, generate_content
from .critic import get_critic, revise_content, run_critic, run_critique_round
from .format_checker import check_formatting, check_order_formatting, extract_rules
from .persistence import save_sources, save_version, update_order_status
from .rag_context import get_rag_context, get_semantic_context, get_taxonomy_context
from .utils import repair_json

__all__ = [
    "repair_json",
    "get_rag_context",
    "get_semantic_context",
    "get_taxonomy_context",
    "get_prompt",
    "get_config_item",
    "get_author_profile",
    "get_contract",
    "get_structure",
    "get_order",
    "build_generation_prompt",
    "call_llm",
    "generate_content",
    "save_version",
    "save_sources",
    "update_order_status",
    "get_critic",
    "run_critic",
    "run_critique_round",
    "revise_content",
    "check_formatting",
    "check_order_formatting",
    "extract_rules",
]
← Übersicht