CoolFace
Apppublic

pennaburry/parallel-constrained-decoding

sourceHugging Faceapache-2.0updated 7d agoView on Hugging Face
1likes
__init__.py30 linesDownload Raw Back to core
1"""2Parallel Constrained Structured Generation Engine.3"""4 5from core.schema import StructuredSchema, FieldDefinition6from core.engine import (7    get_engine,8    run_parallel_generation,9    run_naive_generation,10    stream_naive_generation,11    # Backward compatibility12    run_rlcd_generation,13)14from core.prompt_builder import (15    build_naive_json_prompt,16    build_parallel_field_prompts,17)18 19__all__ = [20    "StructuredSchema",21    "FieldDefinition",22    "get_engine",23    "run_parallel_generation",24    "run_naive_generation",25    "stream_naive_generation",26    "build_naive_json_prompt",27    "build_parallel_field_prompts",28    "run_rlcd_generation",29]30