arena-ai/structured-logprobs

OpenAI's Structured Outputs with Logprobs

48
/ 100
Emerging

Provides token-level confidence scoring for OpenAI's Structured Outputs by mapping log probabilities to individual JSON fields, enabling reliability assessment of generated data. Offers two integration approaches: attaching logprobs as a separate response field or embedding them inline within the JSON output. Works directly with OpenAI's chat completions API using `logprobs=True` and custom JSON schemas.

203 stars and 1,276 monthly downloads. No commits in the last 6 months. Available on PyPI.

Stale 6m
Maintenance 2 / 25
Adoption 17 / 25
Maturity 18 / 25
Community 11 / 25

How are scores calculated?

Stars

203

Forks

12

Language

Python

License

Apache-2.0

Last pushed

May 26, 2025

Monthly downloads

1,276

Commits (30d)

0

Dependencies

3

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/arena-ai/structured-logprobs"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.