UNPKG

@langchain/community

Version:
14 lines (13 loc) 409 B
import { Document } from "@langchain/core/documents"; //#region src/stores/doc/base.d.ts /** * Abstract class for a document store. All document stores should extend * this class. */ declare abstract class Docstore { abstract search(search: string): Promise<Document>; abstract add(texts: Record<string, Document>): Promise<void>; } //#endregion export { Docstore }; //# sourceMappingURL=base.d.ts.map