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
import { RAGFlowFormItem } from '@/components/ragflow-form';
import { Input } from '@/components/ui/input';
import { t } from 'i18next';
interface IApiKeyFieldProps {
placeholder?: string;
required?: boolean;
}
export function ApiKeyField({ placeholder, required }: IApiKeyFieldProps) {
return (
<RAGFlowFormItem
name="api_key"
label={t('flow.apiKey')}
required={required}
>
<Input type="password" placeholder={placeholder}></Input>
</RAGFlowFormItem>
);
}