feat(i18n): add internationalization support across multiple components
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { ChunkMethodItem, EmbeddingModelItem } from './common-items';
|
||||
import { Box, Typography } from '@mui/material';
|
||||
|
||||
export function KnowledgeGraphConfiguration() {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<>
|
||||
<ChunkMethodItem />
|
||||
@@ -10,25 +13,25 @@ export function KnowledgeGraphConfiguration() {
|
||||
|
||||
<Box sx={{ mb: 2 }}>
|
||||
<Typography variant="body2" color="text.secondary">
|
||||
PageRank配置 - 待实现
|
||||
{t('knowledge.config.pageRankConfigTodo')}
|
||||
</Typography>
|
||||
</Box>
|
||||
|
||||
<Box sx={{ mb: 2 }}>
|
||||
<Typography variant="body2" color="text.secondary">
|
||||
实体类型配置 - 待实现
|
||||
{t('knowledge.config.entityTypeConfigTodo')}
|
||||
</Typography>
|
||||
</Box>
|
||||
|
||||
<Box sx={{ mb: 2 }}>
|
||||
<Typography variant="body2" color="text.secondary">
|
||||
最大Token数量配置 (最大: 16384) - 待实现
|
||||
{t('knowledge.config.maxTokenConfigTodo')}
|
||||
</Typography>
|
||||
</Box>
|
||||
|
||||
<Box sx={{ mb: 2 }}>
|
||||
<Typography variant="body2" color="text.secondary">
|
||||
分隔符配置 - 待实现
|
||||
{t('knowledge.config.delimiterConfigTodo')}
|
||||
</Typography>
|
||||
</Box>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user