Add OCR Compare, OCR Labeling, RAG Pipeline, Magic Help to AI sidebar
Adds the missing navigation entries and SVG icons for all AI tool modules so they appear in the sidebar navigation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -46,6 +46,34 @@ export const AI_TOOLS_MODULES: AIToolModule[] = [
|
|||||||
description: 'vast.ai Management',
|
description: 'vast.ai Management',
|
||||||
icon: '🖥️',
|
icon: '🖥️',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 'ocr-compare',
|
||||||
|
name: 'OCR Vergleich',
|
||||||
|
href: '/ai/ocr-compare',
|
||||||
|
description: 'OCR-Methoden & Vokabel-Extraktion',
|
||||||
|
icon: '🔍',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'ocr-labeling',
|
||||||
|
name: 'OCR Labeling',
|
||||||
|
href: '/ai/ocr-labeling',
|
||||||
|
description: 'Trainingsdaten erstellen',
|
||||||
|
icon: '🏷️',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'rag-pipeline',
|
||||||
|
name: 'RAG Pipeline',
|
||||||
|
href: '/ai/rag-pipeline',
|
||||||
|
description: 'Retrieval Augmented Generation',
|
||||||
|
icon: '🔗',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'magic-help',
|
||||||
|
name: 'Magic Help',
|
||||||
|
href: '/ai/magic-help',
|
||||||
|
description: 'KI-Assistent',
|
||||||
|
icon: '✨',
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
export interface AIToolsSidebarProps {
|
export interface AIToolsSidebarProps {
|
||||||
@@ -86,6 +114,34 @@ const ToolIcon = ({ id }: { id: string }) => {
|
|||||||
d="M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z" />
|
d="M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z" />
|
||||||
</svg>
|
</svg>
|
||||||
)
|
)
|
||||||
|
case 'ocr-compare':
|
||||||
|
return (
|
||||||
|
<svg className="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||||
|
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2}
|
||||||
|
d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
|
||||||
|
</svg>
|
||||||
|
)
|
||||||
|
case 'ocr-labeling':
|
||||||
|
return (
|
||||||
|
<svg className="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||||
|
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2}
|
||||||
|
d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z" />
|
||||||
|
</svg>
|
||||||
|
)
|
||||||
|
case 'rag-pipeline':
|
||||||
|
return (
|
||||||
|
<svg className="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||||
|
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2}
|
||||||
|
d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1" />
|
||||||
|
</svg>
|
||||||
|
)
|
||||||
|
case 'magic-help':
|
||||||
|
return (
|
||||||
|
<svg className="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||||
|
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2}
|
||||||
|
d="M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z" />
|
||||||
|
</svg>
|
||||||
|
)
|
||||||
default:
|
default:
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user