mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-25 16:26:51 +08:00
### What problem does this PR solve? Feat: Adjust the style of the canvas node #10703 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
16 lines
425 B
TypeScript
16 lines
425 B
TypeScript
import { IRagNode } from '@/interfaces/database/agent';
|
|
import { NodeProps } from '@xyflow/react';
|
|
import { get } from 'lodash';
|
|
import { LLMLabelCard } from './card';
|
|
import { RagNode } from './index';
|
|
|
|
export function ExtractorNode({ ...props }: NodeProps<IRagNode>) {
|
|
const { data } = props;
|
|
|
|
return (
|
|
<RagNode {...props}>
|
|
<LLMLabelCard llmId={get(data, 'form.llm_id')}></LLMLabelCard>
|
|
</RagNode>
|
|
);
|
|
}
|