feat: add teaching asset prompts

This commit is contained in:
user
2026-04-26 17:54:23 +09:00
parent 4936cdf4c9
commit 156daa9087
22 changed files with 594 additions and 14 deletions

View File

@@ -192,3 +192,52 @@ const (
UnlockReviewCard UnlockKind = "review_card"
UnlockPortfolioEntry UnlockKind = "portfolio_entry"
)
type OntologyGap struct {
Track string `json:"track"`
MissingOrWeak []OntologyGapItem `json:"missing_or_weak"`
}
type OntologyGapItem struct {
Concept ConceptRef `json:"concept"`
GapType OntologyGapType `json:"gap_type"`
Reason string `json:"reason"`
SupportingSources []EvidenceRef `json:"supporting_sources"`
ProposedAction GapAction `json:"proposed_action"`
}
type OntologyGapType string
const (
OntologyGapMissingPrerequisite OntologyGapType = "missing_prerequisite"
OntologyGapWeakEvidence OntologyGapType = "weak_evidence"
OntologyGapOutdated OntologyGapType = "outdated"
OntologyGapNeedsRubric OntologyGapType = "needs_rubric"
)
type GapAction string
const (
GapActionGenerateCandidate GapAction = "generate_candidate"
GapActionRequestSource GapAction = "request_source"
GapActionHumanReview GapAction = "human_review"
)
type TeachingAssetPrompt struct {
Concept ConceptRef `json:"concept"`
AssetType AssetType `json:"asset_type"`
Prompt string `json:"prompt"`
SourceEvidence []EvidenceRef `json:"source_evidence"`
ModelKey string `json:"model_key"`
RequiresModelIDVerification bool `json:"requires_model_id_verification"`
ReviewState string `json:"review_state"`
}
type AssetType string
const (
AssetDiagram AssetType = "diagram"
AssetLessonSlice AssetType = "lesson_slice"
AssetWorksheet AssetType = "worksheet"
AssetInterviewCard AssetType = "interview_card"
)