UNPKG

langcode

Version:

A Plugin-Based Framework for Managing and Using LangChain

14 lines (13 loc) 620 B
import { Plugin } from "../../types"; import { PluginType, CheerioScraperInitConfig, CheerioScraperRunArgs, CheerioScraperExpose } from "../../types"; export default class CheerioScraperPlugin implements Plugin<CheerioScraperInitConfig, CheerioScraperRunArgs, CheerioScraperExpose, any> { name: string; description: string; type: PluginType; RunConfigExample: CheerioScraperRunArgs; InitConfigExample: CheerioScraperInitConfig; private userAgent; expose(): CheerioScraperExpose; init(config: CheerioScraperInitConfig): Promise<void>; run(args: CheerioScraperRunArgs): Promise<any>; }