RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
'use client';
import { RAGFlowFormItem } from '@/components/ragflow-form';
import { Input } from '@/components/ui/input';
import { Textarea } from '@/components/ui/textarea';
import { useTranslation } from 'react-i18next';
export function CreateDirectoryFormFields() {
const { t } = useTranslation();
return (
<div className="space-y-4">
<RAGFlowFormItem
name="name"
label={t('common.name')}
required
>
<Input placeholder={t('common.pleaseInput')} autoComplete="off" />
</RAGFlowFormItem>
<RAGFlowFormItem name="rule" label={t('knowledgeCompilation.directoryRule')}>
<Textarea placeholder={t('common.pleaseInput')} />
</RAGFlowFormItem>
</div>
);
}