feat: TipCandidate shared schema — typed candidates through the bandit pipeline #89
Reference in New Issue
Block a user
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?
Goal
Define a first-class
TipCandidatetype that flows from the LLM generator through the bandit scorer to the recommender API.Schema
Changes
packages/shared-typesml/serving/scoreendpoints to accept + returnTipCandidate[]services/api/src/routes/recommender.tsto pipeTipCandidatethrough scoringtip_scorestable: addkind,source,model,prompt_versioncolumnsWhy now
This schema is the seam between the LLM generator (#79) and the bandit scorer. Defining it first lets both sides develop independently. The bandit doesn't care whether a candidate came from an LLM or a task list — it just scores features.