Download ragflow-main/web/src/interfaces/database/document.ts from pandaall/ragflow: direct link, hf CLI and curl.
- Browser
- Download file 978 Bytes
-
https://huggingface.co/datasets/pandaall/ragflow/resolve/main/ragflow-main/web/src/interfaces/database/document.ts
- Command line
-
hf download hf://datasets/pandaall/ragflow/ragflow-main/web/src/interfaces/database/document.ts
-
curl -L -o document.ts https://huggingface.co/datasets/pandaall/ragflow/resolve/main/ragflow-main/web/src/interfaces/database/document.ts
978 Bytes
| import { RunningStatus } from '@/constants/knowledge'; | |
| export interface IDocumentInfo { | |
| chunk_num: number; | |
| create_date: string; | |
| create_time: number; | |
| created_by: string; | |
| id: string; | |
| kb_id: string; | |
| location: string; | |
| name: string; | |
| parser_config: IParserConfig; | |
| parser_id: string; | |
| process_begin_at?: string; | |
| process_duation: number; | |
| progress: number; | |
| progress_msg: string; | |
| run: RunningStatus; | |
| size: number; | |
| source_type: string; | |
| status: string; | |
| thumbnail: string; | |
| token_num: number; | |
| type: string; | |
| update_date: string; | |
| update_time: number; | |
| meta_fields?: Record<string, any>; | |
| } | |
| export interface IParserConfig { | |
| delimiter?: string; | |
| html4excel?: boolean; | |
| layout_recognize?: boolean; | |
| pages: any[]; | |
| raptor?: Raptor; | |
| graphrag?: GraphRag; | |
| } | |
| interface Raptor { | |
| use_raptor: boolean; | |
| } | |
| interface GraphRag { | |
| community?: boolean; | |
| entity_types?: string[]; | |
| method?: string; | |
| resolution?: boolean; | |
| use_graphrag?: boolean; | |
| } | |