2025-10-15 16:24:53 +08:00
|
|
|
import React from 'react';
|
2025-10-29 16:40:20 +08:00
|
|
|
import { useTranslation } from 'react-i18next';
|
2025-10-15 18:48:48 +08:00
|
|
|
import { ChunkMethodItem, EmbeddingModelItem } from './common-items';
|
2025-10-15 16:24:53 +08:00
|
|
|
import { Box, Typography } from '@mui/material';
|
|
|
|
|
|
|
|
|
|
export function KnowledgeGraphConfiguration() {
|
2025-10-29 16:40:20 +08:00
|
|
|
const { t } = useTranslation();
|
|
|
|
|
|
2025-10-15 16:24:53 +08:00
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
<ChunkMethodItem />
|
|
|
|
|
<EmbeddingModelItem />
|
|
|
|
|
|
|
|
|
|
<Box sx={{ mb: 2 }}>
|
|
|
|
|
<Typography variant="body2" color="text.secondary">
|
2025-10-29 16:40:20 +08:00
|
|
|
{t('knowledge.config.pageRankConfigTodo')}
|
2025-10-15 16:24:53 +08:00
|
|
|
</Typography>
|
|
|
|
|
</Box>
|
|
|
|
|
|
|
|
|
|
<Box sx={{ mb: 2 }}>
|
|
|
|
|
<Typography variant="body2" color="text.secondary">
|
2025-10-29 16:40:20 +08:00
|
|
|
{t('knowledge.config.entityTypeConfigTodo')}
|
2025-10-15 16:24:53 +08:00
|
|
|
</Typography>
|
|
|
|
|
</Box>
|
|
|
|
|
|
|
|
|
|
<Box sx={{ mb: 2 }}>
|
|
|
|
|
<Typography variant="body2" color="text.secondary">
|
2025-10-29 16:40:20 +08:00
|
|
|
{t('knowledge.config.maxTokenConfigTodo')}
|
2025-10-15 16:24:53 +08:00
|
|
|
</Typography>
|
|
|
|
|
</Box>
|
|
|
|
|
|
|
|
|
|
<Box sx={{ mb: 2 }}>
|
|
|
|
|
<Typography variant="body2" color="text.secondary">
|
2025-10-29 16:40:20 +08:00
|
|
|
{t('knowledge.config.delimiterConfigTodo')}
|
2025-10-15 16:24:53 +08:00
|
|
|
</Typography>
|
|
|
|
|
</Box>
|
|
|
|
|
</>
|
|
|
|
|
);
|
|
|
|
|
}
|