UNPKG

langcode

Version:

A Plugin-Based Framework for Managing and Using LangChain

13 lines (12 loc) 683 B
import { Plugin, PluginType, StructuredOutputParserExpose, StructuredOutputParserInitConfig, StructuredOutputParserRunArgs } from "../../types"; export default class StructuredOutputParserPlugin implements Plugin<StructuredOutputParserInitConfig, StructuredOutputParserRunArgs, StructuredOutputParserExpose, any> { name: string; description: string; type: PluginType; RunConfigExample: StructuredOutputParserRunArgs; private parser; InitConfigExample: StructuredOutputParserInitConfig; expose(): StructuredOutputParserExpose; init(config: StructuredOutputParserInitConfig): Promise<void>; run(args: StructuredOutputParserRunArgs): Promise<any>; }