Skip to content

Package to power AI, LLM and GPT applications with Advertising through native AI toolkits.

License

Notifications You must be signed in to change notification settings

ADS4GPTs/ads4gpts

Repository files navigation

ADS4GPTs

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.


Table of Contents


Introduction

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.

Show Your Support

If you find our ADS4GPTs project helpful, please give it a star ⭐️

GitHub Stars

Join our Network

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

Repository Structure

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

Installation

Installing Individual Packages

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.

Usage

You will find usage guides in each package folder within the monorepo.

AI Frameworks

LangChain / LangGraph

The LangChain integration for ADS4GPTs allows you to incorporate ad retrieval seamlessly within LangChain and LangGraph agents.

Python Package

Location: /libs/python-sdk/ads4gpts-langchain

JavaScript/TypeScript Package

Location: /libs/js-sdk/ads4gpts-langchain

OpenAI

JavaScript/TypeScript Package

Location: /libs/js-sdk/ads4gpts-openai

Vercel AI SDK

JavaScript/TypeScript Package

Location: /libs/js-sdk/ads4gpts-vercelai

Examples

Extensive examples are available in the /examples directory, demonstrating how to use the SDKs and integrations in various scenarios.

Frontend Components

The /frontend directory contains React components styled with Tailwind CSS for displaying ads retrieved using ADS4GPTs.

Contributing

Contributions are welcome! Please follow the guides in each package library within the monorepo.

License

This project is licensed under the License of the ADS4GPTs repository.

Contact

For issues and feature requests, please use the GitHub issues page.

About

Package to power AI, LLM and GPT applications with Advertising through native AI toolkits.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •