CoolPrompt

    Automatic Prompt Optimization Framework

    Language: python

    Author: Yang Kowalczyk (@itsyang)

    184 stars · 698 views

    Files

    • __init__.py (python)
    • hype.py (python)
    • README.md (markdown)
    • __init__.py (python)
    • prompt.py (python)
    • run.py (python)
    • pydantic_formatters.py (python)
    • data_generator_templates.py (python)
    • hype_templates.py (python)
    • llm_as_judge_templates.py (python)
    • reflective_templates.py (python)
    • API.md (markdown)
    • README.md (markdown)
    • assistant.py (python)
    • generator.py (python)
    • README.md (markdown)
    • generate.py (python)
    • correction_templates.py (python)
    • evoluter.py (python)
    • __init__.py (python)
    • basic_methods_templates.py (python)
    • default.py (python)
    • default_templates.py (python)
    • task_detector_templates.py (python)
    • var_validation.py (python)
    • coolprompt ()
    • data_generator ()
    • geval_templates.py (python)
    • run.py (python)
    • language_detection.py (python)
    • enums.py (python)
    • logging_config.py (python)
    • evaluator ()
    • language_model ()
    • optimizer ()
    • distill_prompt ()
    • metrics.py (python)
    • hype ()
    • reflective_prompt ()
    • distiller.py (python)
    • prompt_assistant ()
    • task_detector ()
    • detector.py (python)
    • utils ()
    • correction ()
    • rule.py (python)
    • prompt_templates ()
    • assistant_templates.py (python)
    • parsing.py (python)
    • docs ()
    • LICENSE (plaintext)
    • ATTRIBUTION.md (markdown)
    • README.md (markdown)
    • prompt_assistant.py (python)
    • CONTRIBUTING.md (markdown)
    • llm.py (python)
    • distillprompt_templates.py (python)
    • utils.py (python)
    • arithmetics.py (python)
    • __init__.py (python)
    • pydantic_formatters.py (python)
    • __init__.py (python)
    • evaluator.py (python)
    • deepeval_model.py (python)
    • candidate.py (python)
    • corrector.py (python)

    Loading code snippet…