feat: app corrections ingestion endpoint for CF menagerie #47
Labels
No labels
backend
backlog
bug
duplicate
enhancement
frontend
good first issue
help wanted
invalid
ml
phase-2
phase-3
question
reorg
status:blocked
status:in-progress
status:review
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/avocet#47
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Corrections currently come from manual SFT import and benchmark runs. CF apps (Peregrine, Kiwi, Linnet, etc.) should be able to push correction pairs directly to avocet to feed the training flywheel.
Work
POST /api/data/corrections/ingesttoapp/data/corrections.pyAVOCET_INGESTION_SECRETenv var (Bearer token, same pattern as cf-orch coordinator auth){source: str, task_type: str, prompt: str, response: str, correction: str, label: str | null}POST /api/data/corrections/ingest/batchaccepting arrayAVOCET_INGESTION_SECRETto.env.exampleAcceptance
Shipped in the Apr 19–May 4 sprint. POST /ingest corrections endpoint with Bearer auth landed in app/data/corrections.py.