690618:1444 237 #02
CI / CD Pipeline / build (push) Successful in 7m5s
CI / CD Pipeline / deploy (push) Failing after 20m14s

This commit is contained in:
2026-06-18 14:44:46 +07:00
parent 037fbb65f5
commit 09e304de84
52 changed files with 4471 additions and 1038 deletions
+3 -1
View File
@@ -2,7 +2,7 @@
// Change Log:
// - 2026-06-14: Created frontend contract types from specifications (conforming to task T010)
export type PromptType = 'ocr_extraction' | 'rag_query_prompt' | 'rag_prep_prompt' | 'classification_prompt';
export type PromptType = 'ocr_system' | 'ocr_extraction' | 'rag_query_prompt' | 'rag_prep_prompt' | 'classification_prompt';
export interface ContextConfig {
filter: {
@@ -18,6 +18,7 @@ export interface PromptVersion {
id: string;
promptType: PromptType;
versionNumber: number;
version?: number;
template: string;
contextConfig: ContextConfig | null;
isActive: boolean;
@@ -86,6 +87,7 @@ export interface UpdateContextConfigDto {
}
export const PLACEHOLDER_REQUIREMENTS: Record<PromptType, string[]> = {
ocr_system: [],
ocr_extraction: ['{{ocr_text}}'],
rag_query_prompt: ['{{query}}', '{{context}}'],
rag_prep_prompt: ['{{text}}'],