Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

323 B
Raw Blame
import { IPaginationRequestBody } from './base';

export interface IFileListRequestBody extends IPaginationRequestBody {
  parent_id?: string; // folder id
  tenant_id?: string;
}

export interface IConnectRequestBody {
  fileIds: string[];
  kbIds: string[];
}

export type ConnectFileToKnowledgeMode = 'add' | 'replace';