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 { IRagNode } from '@/interfaces/database/agent';
import { NodeProps } from '@xyflow/react';
import { get } from 'lodash';
import { CompilationTemplateLabelCard, LLMLabelCard } from './card';
import { RagNode } from './index';
export function CompilationNode({ ...props }: NodeProps<IRagNode>) {
const { data } = props;
const groupId = get(data, 'form.compilation_template_group_id');
const llmId = get(data, 'form.llm_id');
return (
<RagNode {...props}>
<section className="flex flex-col gap-2">
<LLMLabelCard llmId={llmId}></LLMLabelCard>
<CompilationTemplateLabelCard
groupId={groupId}
></CompilationTemplateLabelCard>
</section>
</RagNode>
);
}