mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-07-20 08:44:25 +08:00
20 lines
487 B
TypeScript
20 lines
487 B
TypeScript
import { KnowledgeRouteKey } from '@/constants/knowledge';
|
|
|
|
export const routeMap = {
|
|
[KnowledgeRouteKey.Dataset]: 'Dataset',
|
|
[KnowledgeRouteKey.Testing]: 'Retrieval testing',
|
|
[KnowledgeRouteKey.Configuration]: 'Configuration',
|
|
};
|
|
|
|
export enum KnowledgeDatasetRouteKey {
|
|
Chunk = 'chunk',
|
|
File = 'file',
|
|
}
|
|
|
|
export const datasetRouteMap = {
|
|
[KnowledgeDatasetRouteKey.Chunk]: 'Chunk',
|
|
[KnowledgeDatasetRouteKey.File]: 'File Upload',
|
|
};
|
|
|
|
export * from '@/constants/knowledge';
|