salience-editor/api/README.md

18 lines
416 B
Markdown
Raw Normal View History

2025-11-02 13:09:23 -08:00
# Text Salience API
2025-11-02 13:09:23 -08:00
## Run API
```bash
uv run flask --app salience run
2025-11-02 13:09:23 -08:00
```
## Benchmarks
```bash
# Generate embeddings
uv run python3 benchmarks/generate_embeddings.py
# Run benchmarks
uv run pytest benchmarks/test_bench_cosine_sim.py --benchmark-json=benchmarks/genfiles/benchmark_results.json
# Visualize results
uv run python3 benchmarks/visualize_benchmarks.py benchmarks/genfiles/benchmark_results.json
```