A comprehensive monorepo for ADS4GPTs, providing SDKs and integrations for both Python and JavaScript/TypeScript. This monorepo includes support for AI frameworks like LangChain, OpenAI (implemented), Anthropic, LlamaIndex and others (coming soon). Extensive examples are available in the /examples
folder, and frontend components for displaying ads are provided in the /frontend
folder, built with React and Tailwind CSS.
- Introduction
- Join our Network
- Repository Structure
- Installation
- Usage
- AI Frameworks
- Examples
- Frontend Components
- Contributing
- License
- Contact
ADS4GPTs is a platform that enables developers to integrate contextually relevant advertisements into their applications effortlessly. By leveraging advanced AI models and popular frameworks, Ads4GPTs ensures that ads are meaningful and engaging to users.
This monorepo hosts multiple SDKs and integrations for both Python and JavaScript, organized in a way that each package can be installed separately. The monorepo itself is not meant to be installed as a whole.
If you find our ADS4GPTs project helpful, please give it a star ⭐️
AI, LLM and GPT applications can apply to join our network AI, LLM, and GPT application developers are invited to join our network by visiting our website at https://www.ads4gpts.com. Discover how our platform can help you integrate tailored advertising solutions designed specifically for AI-driven applications through our website at https://www.ads4gpts.com/contact-us
Also join our community Discord to be up to date with all the news and interact with out team. Discord
ads4gpts/
├── libs/
│ ├── custom-gpts-openapi/ # Integration with OpenAI's Custom GPTs through Actions
│ ├── python-sdk/
│ │ ├── ads4gpts-langchain/ # LangChain integration for Python
│ ├── js-sdk/
│ │ ├── ads4gpts-vercelai/ # Native Vercel AI SDK Integration
│ │ ├── ads4gpts-langchain/ # LangChain integration for JavaScript/TypeScript
│ │ ├── ads4gpts-openai/ # OpenAI integration for JavaScript/TypeScript
├── examples/
│ ├── python/
│ │ ├── langchain/ # LangChain examples for Python
│ │ ├── langgraph/ # LangGraph examples for Python
│ ├── typescript/
│ │ ├── vercelai/ # Extensive examples for Vercel AI SDK and integrations
│ │ ├── langchain/ # LangChain examples for Typescript
│ │ ├── openai/ # OpenAI examples for Typescript
├── frontend/ # React components for copying into your implementation
├── README.md # Project documentation
└── LICENSE # Licensing information
Each SDK or integration is located within its respective directory under libs/
. To use any of the packages, navigate to its directory and follow the instruction details.
You will find usage guides in each package folder within the monorepo.
The LangChain integration for ADS4GPTs allows you to incorporate ad retrieval seamlessly within LangChain and LangGraph agents.
Location: /libs/python-sdk/ads4gpts-langchain
Location: /libs/js-sdk/ads4gpts-langchain
Location: /libs/js-sdk/ads4gpts-openai
Location: /libs/js-sdk/ads4gpts-vercelai
Extensive examples are available in the /examples directory, demonstrating how to use the SDKs and integrations in various scenarios.
The /frontend directory contains React components styled with Tailwind CSS for displaying ads retrieved using ADS4GPTs.
Contributions are welcome! Please follow the guides in each package library within the monorepo.
This project is licensed under the License of the ADS4GPTs repository.
- Author: ADS4GTPs
- Email: [email protected]
- GitHub: @ads4gpts
For issues and feature requests, please use the GitHub issues page.