agsamantha/node_modules/@langchain/community/dist/stores/doc/base.d.ts

10 lines
316 B
TypeScript
Raw Normal View History

2024-10-02 20:15:21 +00:00
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>;
}