Skip to main content

Real LLM-judge client (Anthropic, OpenAI) for Signoff verifiers.

Project description

signoff-judge

Real LLM-judge client for Signoff verifiers. Ships two providers:

  • AnthropicJudge — uses the official anthropic SDK. Default model is claude-haiku-4-5 (cheap and fast for judge use).
  • OpenAIJudge — uses the official openai SDK with structured outputs for provider parity.

Drop-in replacement for signoff.testing.FakeJudge in production wiring.

from signoff_judge import AnthropicJudge, JudgeClientConfig

async with AnthropicJudge(JudgeClientConfig(provider="anthropic")) as judge:
    result = await judge.check_entailment(
        claim="Paris is the capital of France.",
        passage="France's capital city is Paris.",
    )
    print(result.label, result.confidence, result.model, result.prompt_version)

Configuration (API keys, model, timeouts, retries) is loaded from SIGNOFF_JUDGE_* environment variables; see docs/judge-client.md for the full reference. Prompts live as versioned Markdown files under signoff_judge.prompts; see docs/prompts.md for the authoring and override conventions.

Install: pip install signoff-judge (pulls anthropic and openai as required deps so the provider surface is always available).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

signoff_judge-0.0.1.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

signoff_judge-0.0.1-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file signoff_judge-0.0.1.tar.gz.

File metadata

  • Download URL: signoff_judge-0.0.1.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for signoff_judge-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b0d57a5f6ec0e717fbf388c5f3625f8f006d026c6e15af21204e671bc3088fa8
MD5 4d13c63d8cf6c1dddd816defaef181da
BLAKE2b-256 8686766faddf2d96e2d3043408bc708d368d2ccae169f3f7a07d90bf9030ea3c

See more details on using hashes here.

File details

Details for the file signoff_judge-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: signoff_judge-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for signoff_judge-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d68cc1611d21ffa6320fda6dcbe018a02e8b7cad64a6933b048b2d276433efc9
MD5 c7d13a986c94bb338f268ef28bde25fc
BLAKE2b-256 34b1bcea3a3926a42ba8b2e54b5938a228c69c15d72355a98056bd3e9cdf04e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page