@jackhua/mini-langchain
Version:
A lightweight TypeScript implementation of LangChain with cost optimization features
19 lines • 507 B
TypeScript
import { BaseTool } from './base';
/**
* Calculator tool for mathematical operations
*/
export declare class CalculatorTool extends BaseTool {
name: string;
description: string;
execute(input: string): Promise<string>;
}
/**
* Advanced calculator with more operations
*/
export declare class AdvancedCalculatorTool extends BaseTool {
name: string;
description: string;
private mathFunctions;
execute(input: string): Promise<string>;
}
//# sourceMappingURL=calculator.d.ts.map