Phase 3: typed questions over a retrieved context (POST /api/v1/ask), TypeSafe judge adapter #5

Merged
k.renner merged 3 commits from feat/ask into main 2026-09-24 13:45:30 +00:00
3 Commits
Author SHA1 Message Date
k.renner 3357ee84be Merge remote-tracking branch 'origin/main' into feat/ask
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
2026-09-24 15:40:39 +02:00
claude-botandClaude Fable 5.1 34cf91ebaf ask: wiki_ask.py as a use case and POST /api/v1/ask; judges from configuration
Rank every query, unite the top notes into one context under a per-document
and a total budget, expand context choices over paragraph or document ids
plus NONE, add the covered gate, judge context choices alone and the rest
batched, attach the answering paragraphs' text. A missing TypeSafe key is a
call-time error shown in status, not a startup failure.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-24 13:57:17 +02:00
claude-botandClaude Sonnet 5 e10208ee2c feat(ask): TypeSafe System One judge adapter
IJudge over TypeSafe's System One API: serialises noul/choice/score
questions and the caller's state, retries 429/529 with Retry-After or
backoff to 30s, rejects Choice past the 255-option cap before sending,
and skips the request entirely for an empty question set.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-24 13:53:52 +02:00