import { VectorResponseBase, VectorResponseCommon } from "../../types/vector"; import { DocumentChucksGetParams, DocumentDeleteParams, DocumentInfoGetParams, DocumentQueryParams, DocumentQueryResponse, DocumentSearchParams, DocumentSearchReponse, DocumentUpdateParams, DocumentUpdateResponse, DocumentUploadParams, DocumentUploadResponse, DocumentUpsertParams } from "../../types/vector/document"; export interface IDocument { upload(params: DocumentUploadParams): Promise; upsert(params: DocumentUpsertParams): Promise; query(params: DocumentQueryParams, isAIPackage?: boolean): Promise; search(params: DocumentSearchParams, isAIPackage?: boolean): Promise; delete(params: DocumentDeleteParams, isAIPackage?: boolean): Promise; update(params: DocumentUpdateParams, isAIPackage?: boolean): Promise; getInfo(params: DocumentInfoGetParams): Promise; getChucks(params: DocumentChucksGetParams): Promise; }