@langchain/community
Version:
Third-party integrations for LangChain.js
1 lines • 1.27 kB
Source Map (JSON)
{"version":3,"file":"aws_lambda.d.ts","names":["DynamicTool","DynamicToolInput","LambdaConfig","AWSLambda","name","description","Omit","Promise"],"sources":["../../src/tools/aws_lambda.d.ts"],"sourcesContent":["import { DynamicTool, DynamicToolInput } from \"@langchain/core/tools\";\n/**\n * Interface for the configuration of the AWS Lambda function.\n */\ninterface LambdaConfig {\n functionName: string;\n region?: string;\n accessKeyId?: string;\n secretAccessKey?: string;\n}\n/**\n * Class for invoking AWS Lambda functions within the LangChain framework.\n * Extends the DynamicTool class.\n */\ndeclare class AWSLambda extends DynamicTool {\n get lc_namespace(): string[];\n get lc_secrets(): {\n [key: string]: string;\n } | undefined;\n private lambdaConfig;\n constructor({ name, description, ...rest }: LambdaConfig & Omit<DynamicToolInput, \"func\">);\n /** @ignore */\n _func(input: string): Promise<string>;\n}\nexport { AWSLambda };\n//# sourceMappingURL=aws_lambda.d.ts.map"],"mappings":";;;;;;AAAsE;AAIhD,UAAZE,YAAAA,CAUa;EAMLE,YAAAA,EAAAA,MAAAA;EAAMC,MAAAA,CAAAA,EAAAA,MAAAA;EAAwBH,WAAAA,CAAAA,EAAAA,MAAAA;EAAoBD,eAAAA,CAAAA,EAAAA,MAAAA;;;;AANzB;;cAA7BE,SAAAA,SAAkBH,WAAAA;;;;;;;;;;KAMgBE,eAAeI,KAAKL;;wBAE1CM"}