Skip to content

Releases

v0.1.0

Choose a tag to compare

@nicolasambin nicolasambin released this 10 Nov 22:09
2c0052d

First release.

lazycontroller is a drop-in replacement for the openai Python client. Structured-output calls that are really decisions go to a fast decision model first; if every field reaches min_confidence, its answer is used, otherwise the call goes to your LLM unchanged.

  • OpenAI / AsyncOpenAI, configured with fast=FastConfig(...), varied per code path with with_fast()
  • Chat Completions and Responses APIs, create and parse
  • Route reports for every intercepted call, shadow mode and ShadowReport to choose min_confidence

Install: pip install lazycontroller · Docs: https://nicolasambin.github.io/lazycontroller/