UNPKG

langcode

Version:

A Plugin-Based Framework for Managing and Using LangChain

13 lines (12 loc) 527 B
import { PluginType, PdfLoaderInitConfig, PdfLoaderExpose, PdfLoaderRunArgs, Plugin } from "../../types"; export default class PdfLoaderPlugin implements Plugin<PdfLoaderInitConfig, PdfLoaderRunArgs, PdfLoaderExpose, any> { name: string; description: string; type: PluginType; RunConfigExample: PdfLoaderRunArgs; InitConfigExample: PdfLoaderInitConfig; private loader; expose(): PdfLoaderExpose; init(config: PdfLoaderInitConfig): Promise<void>; run(args: PdfLoaderRunArgs): Promise<any>; }