langcode
Version:
A Plugin-Based Framework for Managing and Using LangChain
13 lines (12 loc) • 559 B
TypeScript
import { AgentOpenAIExpose, AgentOpenAIInitConfig, AgentOpenAIRunArgs, Plugin, PluginType } from "../../types";
export default class AgentOpenAIPlugin implements Plugin<AgentOpenAIInitConfig, AgentOpenAIRunArgs, AgentOpenAIExpose, string> {
name: string;
description: string;
type: PluginType;
RunConfigExample: AgentOpenAIRunArgs;
InitConfigExample: AgentOpenAIInitConfig;
private executor;
expose(): AgentOpenAIExpose;
init(config: AgentOpenAIInitConfig): Promise<void>;
run(args: AgentOpenAIRunArgs): Promise<string>;
}