Initial commit: PROMETHEUS v0.1.0 - Prompt optimizer
- 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
This commit is contained in:
27
README.md
Normal file
27
README.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# Prometheus
|
||||
|
||||
Prompt evolution without reference data.
|
||||
|
||||
## Quick Start
|
||||
|
||||
```bash
|
||||
uv sync
|
||||
uv run prometheus optimize -i examples/sample_config.yaml -o result.yaml -v
|
||||
```
|
||||
|
||||
## Architecture
|
||||
|
||||
Clean hexagonal architecture with four layers:
|
||||
|
||||
- **Domain** — entities, ports, scoring (zero external dependencies)
|
||||
- **Application** — use cases, bootstrap, evaluator, evolution loop
|
||||
- **Infrastructure** — DSPy signatures, modules, adapters, file I/O
|
||||
- **CLI** — Typer app with `optimize` command
|
||||
|
||||
## Testing
|
||||
|
||||
```bash
|
||||
uv run pytest
|
||||
uv run ruff check .
|
||||
uv run mypy src/
|
||||
```
|
||||
Reference in New Issue
Block a user