Skip to content

Commit

Permalink
Feat: Add background color to GraphRag configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
cike8899 committed Feb 14, 2025
1 parent 1312637 commit 71df26b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions web/src/components/parse-configuration/graph-rag-items.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useTranslate } from '@/hooks/common-hooks';
import { Divider, Form, Select, Switch } from 'antd';
import { Form, Select, Switch } from 'antd';
import { upperFirst } from 'lodash';
import { useCallback, useMemo } from 'react';
import EntityTypesItem from '../entity-types-item';
Expand Down Expand Up @@ -50,8 +50,7 @@ const GraphRagItems = () => {
);

return (
<>
<Divider></Divider>
<div className="border p-2 rounded-lg bg-slate-50 dark:bg-gray-600">
<Form.Item
name={['parser_config', 'graphrag', 'use_graphrag']}
label={t('useGraphRag')}
Expand Down Expand Up @@ -113,7 +112,7 @@ const GraphRagItems = () => {
);
}}
</Form.Item>
</>
</div>
);
};

Expand Down

0 comments on commit 71df26b

Please sign in to comment.