8 releases

0.3.0 Jun 2, 2024
0.2.0 May 29, 2024
0.1.5 May 9, 2024
0.1.1 Apr 30, 2024

#1175 in Database interfaces

Download history 444/week @ 2024-04-29 129/week @ 2024-05-06 8/week @ 2024-05-13 11/week @ 2024-05-20 373/week @ 2024-05-27 52/week @ 2024-06-03 12/week @ 2024-06-10

449 downloads per month
Used in 2 crates

Apache-2.0

230KB
5.5K 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.
  • Supports both SQLite and PostgreSQL databases
  • Comes with a drop-in fetch function that will redirect OpenAI SDK calls to Chronicle instead.

See the roadmap for the current status and other notes.

Dependencies

~39–60MB
~1M SLoC