UNPKG

langchain

Version:
10 lines (9 loc) 316 B
import { Document } from "@langchain/core/documents"; /** * Abstract class for a document store. All document stores should extend * this class. */ export declare abstract class Docstore { abstract search(search: string): Promise<Document>; abstract add(texts: Record<string, Document>): Promise<void>; }