chronicle-proxy

Crates.iochronicle-proxy
lib.rschronicle-proxy
version0.4.3
sourcesrc
created_at2024-04-30 03:49:43.728521
updated_at2024-07-09 00:24:54.841205
descriptionLLM Provider Abstraction and Logging
homepage
repositoryhttps://github.com/dimfeld/chronicle
max_upload_size
id1224657
size567,362
Daniel Imfeld (dimfeld)

documentation

https://docs.rs/chronicle-proxy

README

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.
  • Supports logging "runs" and "steps" for multi-step workflows

See the roadmap for the current status and other notes.

Commit count: 143

cargo fmt