UNPKG

ads4gpts-langchain

Version:

Ads for AI applications. Enabling the Freemium model for the AI era.

16 lines 642 B
import { ADS4GPTsTool } from './ADS4GPTsTool'; export declare class ADS4GPTsChatTool extends ADS4GPTsTool { /** * Constructs an instance of the ADS4GPTsChatTool. * * @param args - A record of key-value pairs, including an optional API key. * @param args.apiKey - Ads4GPTs API key. If not provided, it will attempt to retrieve it from the `ADS4GPTS_API_KEY` environment variable. * * @throws Error if the API key is missing or the chat tool configuration is not found. */ constructor(args?: { apiKey?: string; rootUrl?: string; }); } //# sourceMappingURL=ADS4GPTsChatTool.d.ts.map