- Clean architecture (domain/application/infrastructure) - DSPy-based evolution engine with scoring - CLI via pyproject.toml entry point - Unit + integration tests (~300 tests) - Configs for glm-5.1 and glm-4.5-air models - Z.AI endpoint integration
28 lines
812 B
YAML
28 lines
812 B
YAML
# PROMETHEUS Configuration File
|
|
# ==================================
|
|
|
|
# The initial prompt to optimize
|
|
seed_prompt: |
|
|
You are an expert assistant in contract analysis.
|
|
Analyze the provided text and identify potentially abusive clauses.
|
|
Be precise and cite the relevant passages.
|
|
|
|
# Task description (used to generate synthetic inputs)
|
|
task_description: |
|
|
Legal analysis of contracts to identify abusive clauses.
|
|
The assistant must examine a contract text and flag
|
|
any clause that could be considered abusive under
|
|
French consumer protection law.
|
|
|
|
# LLM models (DSPy/litellm format)
|
|
task_model: "openai/gpt-4o-mini"
|
|
judge_model: "openai/gpt-4o"
|
|
proposer_model: "openai/gpt-4o"
|
|
synth_model: "openai/gpt-4o"
|
|
|
|
# Evolution parameters
|
|
max_iterations: 30
|
|
n_synthetic_inputs: 20
|
|
minibatch_size: 5
|
|
seed: 42
|