langcode
Version:
A Plugin-Based Framework for Managing and Using LangChain
19 lines (14 loc) • 471 B
text/typescript
import { RequestsGetTool, RequestsPostTool } from "langchain/tools";
import { PluginDescriptions } from "./plugin";
export type RequestsGetToolInitConfig = {};
export type RequestsGetToolRunArgs = {
url: string;
};
export interface RequestsGetToolExpose extends PluginDescriptions {
tool: RequestsGetTool | null;
}
export const RequestsGetToolPluginTypes = {
runArgs: {} as RequestsGetToolRunArgs,
return: {} as any,
expose: {} as RequestsGetToolExpose,
};