langcode
Version:
A Plugin-Based Framework for Managing and Using LangChain
14 lines (13 loc) • 639 B
TypeScript
import { Plugin } from "../../types";
import { PluginType, RequestsPostToolInitConfig, RequestsPostToolRunArgs, RequestsPostToolExpose } from "../../types";
export default class RequestsPostToolPlugin implements Plugin<RequestsPostToolInitConfig, RequestsPostToolRunArgs, RequestsPostToolExpose, any> {
name: string;
description: string;
type: PluginType;
RunConfigExample: RequestsPostToolRunArgs;
InitConfigExample: RequestsPostToolInitConfig;
private tool;
expose(): RequestsPostToolExpose;
init(config: RequestsPostToolInitConfig): Promise<void>;
run(args: RequestsPostToolRunArgs): Promise<any>;
}