perf: improve AI prompt cache reuse
This commit is contained in:
@@ -9,7 +9,7 @@ class AiAnswerEvaluationCapability {
|
||||
|
||||
static const descriptor = AiCapabilityDescriptor(
|
||||
id: 'answer-evaluation',
|
||||
promptVersion: 1,
|
||||
promptVersion: 2,
|
||||
outputContract: 'WritingAiFeedback',
|
||||
);
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ class AiDialogueCoachCapability {
|
||||
|
||||
static const descriptor = AiCapabilityDescriptor(
|
||||
id: 'dialogue-coach',
|
||||
promptVersion: 2,
|
||||
promptVersion: 3,
|
||||
outputContract: 'DialogueAiResponse or DialogueAiIntervention',
|
||||
);
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ class AiLexiconExplanationCapability {
|
||||
|
||||
static const descriptor = AiCapabilityDescriptor(
|
||||
id: 'lexicon-explanation',
|
||||
promptVersion: 1,
|
||||
promptVersion: 2,
|
||||
outputContract: 'Temporary definition or SentenceAnalysisResult',
|
||||
);
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ class AiReviewGenerationCapability {
|
||||
|
||||
static const descriptor = AiCapabilityDescriptor(
|
||||
id: 'review-generation',
|
||||
promptVersion: 1,
|
||||
promptVersion: 2,
|
||||
outputContract: 'GeneratedReviewVariant or audited GeneratedLesson',
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user