mongodb-rag-core
Version:
Common elements used by MongoDB Chatbot Framework components.
15 lines • 332 B
TypeScript
import { Page } from "../contentStore";
/**
Represents a source of page data.
*/
export type DataSource = {
/**
The unique name among registered data sources.
*/
name: string;
/**
Fetches pages in the data source.
*/
fetchPages(): Promise<Page[]>;
};
//# sourceMappingURL=DataSource.d.ts.map