finalize AI

This commit is contained in:
overcuriousity
2025-07-16 22:45:23 +02:00
parent 74f28f4fd9
commit 2b061db94e
5 changed files with 507 additions and 144 deletions

View File

@@ -118,11 +118,18 @@ ${phasesDescription}
FORENSISCHE DOMÄNEN:
${domainsDescription}
PRIORITÄTEN:
1. Self-hosted Tools (projectUrl: "self-hosted") bevorzugen
2. Open Source Tools bevorzugen (license != "Proprietary")
3. Maximal 3 Tools pro Phase empfehlen
4. Deutsche Antworten für deutsche Anfragen, English for English queries
WICHTIGE REGELN:
1. Open Source Tools bevorzugen (license != "Proprietary")
2. Pro Phase 1-3 Tools empfehlen (immer mindestens 1 wenn verfügbar)
3. Tools können in MEHREREN Phasen empfohlen werden wenn sinnvoll - versuche ein Tool für jede Phase zu empfehlen!
4. Für Reporting-Phase: Visualisierungs- und Dokumentationstools einschließen
5. Deutsche Antworten für deutsche Anfragen, English for English queries
TOOL-AUSWAHL NACH PHASE:
- data-collection: Imaging, Acquisition, Remote Collection Tools
- examination: Parsing, Extraction, Initial Analysis Tools
- analysis: Deep Analysis, Correlation, Visualization Tools
- reporting: Documentation, Visualization, Presentation Tools (z.B. QGIS für Geodaten, Timeline-Tools)
ANTWORT-FORMAT (strict JSON):
{
@@ -132,7 +139,7 @@ ANTWORT-FORMAT (strict JSON):
"name": "EXAKTER Name aus der Database",
"priority": "high|medium|low",
"phase": "data-collection|examination|analysis|reporting",
"justification": "Warum dieses Tool für dieses Szenario geeignet ist"
"justification": "Warum dieses Tool für diese Phase und Szenario geeignet ist"
}
],
"workflow_suggestion": "Vorgeschlagener Untersuchungsablauf",

View File

@@ -174,6 +174,12 @@ const tools = data.tools;
switch (view) {
case 'ai':
aiInterface!.style.display = 'block';
// Keep filters visible in AI mode for view switching
filtersSection!.style.display = 'block';
// Restore previous AI results if they exist
if ((window as any).restoreAIResults) {
(window as any).restoreAIResults();
}
// Focus on the input
const aiInput = document.getElementById('ai-query-input');
if (aiInput) {