'use client' import { motion } from 'framer-motion' import { Language } from '@/lib/types' import GradientText from '../ui/GradientText' import FadeInView from '../ui/FadeInView' import { FileText, Layers, Tag, RefreshCw } from 'lucide-react' interface AnnexAgentRAGSlideProps { lang: Language } export default function AnnexAgentRAGSlide({ lang }: AnnexAgentRAGSlideProps) { const regulations = [ { name: 'DSGVO', articles: lang === 'de' ? '99 Artikel' : '99 Articles', recitals: lang === 'de' ? '173 Erwägungsgründe' : '173 Recitals', color: 'from-blue-500/20 to-blue-600/20', border: 'border-blue-400/30' }, { name: 'AI Act', articles: lang === 'de' ? '113 Artikel' : '113 Articles', recitals: lang === 'de' ? '180 Erwägungsgründe' : '180 Recitals', color: 'from-purple-500/20 to-purple-600/20', border: 'border-purple-400/30' }, { name: 'NIS2', articles: lang === 'de' ? '46 Artikel' : '46 Articles', recitals: lang === 'de' ? '144 Erwägungsgründe' : '144 Recitals', color: 'from-green-500/20 to-green-600/20', border: 'border-green-400/30' } ] const chunkingDetails = [ { icon: Layers, label: lang === 'de' ? 'Chunk-Größe' : 'Chunk size', value: lang === 'de' ? '512 Tokens mit 64 Token Überlappung' : '512 tokens with 64 token overlap' }, { icon: Tag, label: lang === 'de' ? 'Metadaten-Tagging' : 'Metadata tagging', value: lang === 'de' ? 'Artikelnummer, Abschnitt, Verordnung, Sprache' : 'Article number, section, regulation, language' }, { icon: FileText, label: lang === 'de' ? 'Hierarchisches Chunking' : 'Hierarchical chunking', value: lang === 'de' ? 'Artikel → Absatz → Satz' : 'Article → Paragraph → Sentence' }, { icon: RefreshCw, label: lang === 'de' ? 'Update-Workflow' : 'Update workflow', value: lang === 'de' ? 'Automatische Re-Indizierung bei Gesetzesänderungen' : 'Automatic re-indexing on law changes' } ] return (
{lang === 'de' ? 'Wie Gesetze in die KI gelangen' : 'How laws enter the AI'}
{reg.articles}
{reg.recitals}
{detail.value}
{lang === 'de' ? 'Aktuell: 15.000+ Chunks indiziert' : 'Currently: 15,000+ chunks indexed'}