@re-ai/volc-knowledge
Version:
火山引擎知识库接口接入SDK
11 lines (10 loc) • 608 B
TypeScript
import { IDocumentAPI } from '../interface/document';
export declare class DocumentImpl implements IDocumentAPI {
create(knowledgeId: string, documentData: Record<string, any>): Promise<any>;
update(documentId: string, updateData: Record<string, any>): Promise<any>;
delete(documentId: string): Promise<any>;
info(documentId: string): Promise<any>;
list(knowledgeId: string, params?: Record<string, any>): Promise<any>;
add(knowledgeId: string, documentData: Record<string, any>): Promise<any>;
updateMeta(documentId: string, metaUpdateData: Record<string, any>): Promise<any>;
}