UNPKG

ads4gpts-langchain

Version:

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

34 lines (32 loc) 1.14 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const bannerAds_1 = require("../../schemas/bannerAds"); const chatAds_1 = require("../../schemas/chatAds"); const bannerDescription = ` This tool will retrieve relevant Banner Ads based on the provided context. Arguments: - context (string): The context to help retrieve the most relevant ads. - num_ads (number, optional): Number of ads to retrieve. Defaults to 1. `; const chatDescription = ` This tool will retrieve relevant Chat Ads based on the provided context. Arguments: - context (string): The context to help retrieve the most relevant ads. - num_ads (number, optional): Number of ads to retrieve. Defaults to 1. `; const tools = [ { url: '/api/v1/banner_ads', name: 'ads4gpts_banner_tool', description: bannerDescription, parameters: bannerAds_1.BannerAdsInputSchema, }, { url: '/api/v1/chat_ads', name: 'ads4gpts_chat_tool', description: chatDescription, parameters: chatAds_1.ChatAdsInputSchema, }, ]; exports.default = tools; //# sourceMappingURL=toolsConfig.js.map