@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
19 lines (16 loc) • 542 B
text/typescript
import { FileListItem, QueryFileListParams } from '@/types/files';
import { UploadFileItem } from '@/types/files/upload';
export interface FileManagerState {
creatingChunkingTaskIds: string[];
creatingEmbeddingTaskIds: string[];
dockUploadFileList: UploadFileItem[];
fileDetail?: FileListItem;
fileList: FileListItem[];
queryListParams?: QueryFileListParams;
}
export const initialFileManagerState: FileManagerState = {
creatingChunkingTaskIds: [],
creatingEmbeddingTaskIds: [],
dockUploadFileList: [],
fileList: [],
};