UNPKG

langcode

Version:

A Plugin-Based Framework for Managing and Using LangChain

14 lines (13 loc) 564 B
import { Plugin } from "../../types"; import { PluginType, PdfParserInitConfig, PdfParserRunArgs, PdfParserExpose } from "../../types"; export default class PdfParserPlugin implements Plugin<PdfParserInitConfig, PdfParserRunArgs, PdfParserExpose, any> { name: string; description: string; type: PluginType; RunConfigExample: PdfParserRunArgs; InitConfigExample: PdfParserInitConfig; private parseMetaOnly; expose(): PdfParserExpose; init(config: PdfParserInitConfig): Promise<void>; run(args: PdfParserRunArgs): Promise<any>; }