ADS4GPTs is building the open monetization backbone of the AI-Native internet. It helps AI applications monetize through advertising with a UX and Privacy first approach.
Installation and Setup
Using pip
You can install the package directly from PyPI:From Source
Alternatively, install from source:Prerequisites
- Python 3.11+
- ADS4GPTs API Key (Obtain API Key)
Environment Variables
Set the following environment variables for API authentication:.env
file.
Tools
ADS4GPTs provides two main tools for monetization:Ads4gptsInlineSponsoredResponseTool
This tool fetches native, sponsored responses that can be seamlessly integrated within your AI application’s outputs.Ads4gptsSuggestedPromptTool
Generates sponsored prompt suggestions to enhance user engagement and provide monetization opportunities.Ads4gptsInlineConversationalTool
Delivers conversational sponsored content that naturally fits within chat interfaces and dialogs.Ads4gptsInlineBannerTool
Provides inline banner advertisements that can be displayed within your AI application’s response.Ads4gptsSuggestedBannerTool
Generates banner advertisement suggestions that can be presented to users as recommended content.Toolkit
TheAds4gptsToolkit
combines these tools for convenient access in LangChain applications.