6 releases
new 0.1.5 | May 9, 2024 |
---|---|
0.1.4 | May 2, 2024 |
0.1.1 | Apr 30, 2024 |
#409 in Database interfaces
444 downloads per month
165KB
4K
SLoC
chronicle
Chronicle is a proxy for language model API calls which
- Provides retries and optionally falls back to other providers on a failed call
- Records each call in a database, and sends OpenTelemetry events
- Lets you switch model provider APIs without changing your request format.
- Comes with a drop-in fetch function that will redirect OpenAI SDK calls to Chronicle instead.
- Comes in two versions:
- A full-fledged server for production use that uses PostgreSQL
- A lightweight server that logs to an SQLite database and can read configuration from disk.
See the roadmap for the current status and other notes.
Dependencies
~40–58MB
~1M SLoC