main #11
@ -50,6 +50,18 @@ ANTWORT AUSSCHLIESSLICH IM JSON-FORMAT:
|
|||||||
}`;
|
}`;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
toolSelectionWithData: (basePrompt: string, toolsToSend: any[], conceptsToSend: any[]) => {
|
||||||
|
return `${basePrompt}
|
||||||
|
|
||||||
|
VERFÜGBARE TOOLS (${toolsToSend.length} Items - Methoden und Software):
|
||||||
|
${JSON.stringify(toolsToSend, null, 2)}
|
||||||
|
|
||||||
|
VERFÜGBARE KONZEPTE (${conceptsToSend.length} Items - theoretisches Wissen):
|
||||||
|
${JSON.stringify(conceptsToSend, null, 2)}
|
||||||
|
|
||||||
|
WICHTIGER HINWEIS: Wähle sowohl aus TOOLS als auch aus KONZEPTEN aus! Konzepte sind essentiell für methodische Fundierung.`;
|
||||||
|
},
|
||||||
|
|
||||||
scenarioAnalysis: (isWorkflow: boolean, userQuery: string) => {
|
scenarioAnalysis: (isWorkflow: boolean, userQuery: string) => {
|
||||||
const analysisType = isWorkflow ? 'Szenario' : 'Problem';
|
const analysisType = isWorkflow ? 'Szenario' : 'Problem';
|
||||||
const focus = isWorkflow ?
|
const focus = isWorkflow ?
|
||||||
@ -148,6 +160,7 @@ ANTWORT AUSSCHLIESSLICH IM JSON-FORMAT OHNE JEGLICHEN TEXT AUSSERHALB:
|
|||||||
}
|
}
|
||||||
]`;
|
]`;
|
||||||
},
|
},
|
||||||
|
|
||||||
toolEvaluation: (userQuery: string, tool: any, rank: number, taskRelevance: number) => {
|
toolEvaluation: (userQuery: string, tool: any, rank: number, taskRelevance: number) => {
|
||||||
const itemType = tool.type === 'method' ? 'Methode' : 'Tool';
|
const itemType = tool.type === 'method' ? 'Methode' : 'Tool';
|
||||||
|
|
||||||
@ -247,6 +260,7 @@ Antwort: Fließtext ohne Listen, max ${isWorkflow ? '100' : '80'} Wörter.`;
|
|||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export function getPrompt(key: 'toolSelection', mode: string, userQuery: string, selectionMethod: string, maxSelectedItems: number): string;
|
export function getPrompt(key: 'toolSelection', mode: string, userQuery: string, selectionMethod: string, maxSelectedItems: number): string;
|
||||||
|
export function getPrompt(key: 'toolSelectionWithData', basePrompt: string, toolsToSend: any[], conceptsToSend: any[]): string;
|
||||||
export function getPrompt(key: 'scenarioAnalysis', isWorkflow: boolean, userQuery: string): string;
|
export function getPrompt(key: 'scenarioAnalysis', isWorkflow: boolean, userQuery: string): string;
|
||||||
export function getPrompt(key: 'investigationApproach', isWorkflow: boolean, userQuery: string): string;
|
export function getPrompt(key: 'investigationApproach', isWorkflow: boolean, userQuery: string): string;
|
||||||
export function getPrompt(key: 'criticalConsiderations', isWorkflow: boolean, userQuery: string): string;
|
export function getPrompt(key: 'criticalConsiderations', isWorkflow: boolean, userQuery: string): string;
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user