Staging to Production #51

Merged
claude merged 165 commits from main into production 2026-06-08 18:28:46 +00:00
Showing only changes of commit 7ea59d0940 - Show all commits
@@ -70,6 +70,18 @@ namespace CvMatcher.Data.Migrations
table: "Results",
columns: new[] { "CvDocumentId", "JobDocumentId", "Language" },
unique: true);
// Seed AI prompts for CV matching
migrationBuilder.Sql($$"""
INSERT INTO [cvMatcher].AiPrompts ([Key], [Language], [Value], [Description])
VALUES
('ai.cv-match.system-prompt', '*',
'You are a strict CV-to-job matching engine. Return JSON only. Score realistically from 0 to 100.
Penalize missing required skills. Do not invent experience. Use concise business language.
Respond entirely in {{languageName}} — all text fields in the JSON must be in {{languageName}}.
JSON shape: {""score"":number,""summary"":""..."",""strengths"":[""...""],""gaps"":[""...""],""recommendations"":[""...""],""evidence"":[""...""]}',
'System prompt template for the CV-to-job LLM matching call. {{languageName}} is substituted at runtime.');
""");
}
/// <inheritdoc />