UNPKG

langcode

Version:

A Plugin-Based Framework for Managing and Using LangChain

14 lines (13 loc) 489 B
import { HttpExpose, HttpInitConfig, HttpRunArgs, Plugin, PluginType } from "../../types"; export default class HttpPlugin implements Plugin<HttpInitConfig, HttpRunArgs, HttpExpose, any> { name: string; description: string; InitConfigExample: HttpInitConfig; RunConfigExample: HttpRunArgs; type: PluginType; private response; private config; init(config: HttpInitConfig): Promise<void>; expose(): HttpExpose; run(args: HttpRunArgs): Promise<any>; }