Skip to content

kontextso/ai-chatbot

Repository files navigation

Konext is the largest AI ad network.

Ad-supported Next.js AI Chatbot

A template that integrates Kontext advertisements into the Next.js AI Chatbot

Kontext Homepage · Kontext Docs

How it works

  • Real-time analysis
    • We analyze each user session in real time, without the need for keywords.
  • Contextual matching
    • We match user context with the most relevant products, brands, or entertainment content.
  • Native ad generation
    • Our platform creates contextual, native advertisements tailored to each user session, ensuring maximum relevance and engagement.

Kontext ads

Example of Kontext ads in the chat interface

Running this repository

  1. Follow the instructions to deploy & run the Next.js AI Chatbot

  2. To run Kontext ads, you will need a token from Kontext. You can get one by getting in touch with us.

  3. You will need to install the Kontext SDK.

npm install @kontextso/sdk
  1. Initialize the AdsProvider by following these instructions in the chat.tsx file.

  2. Include your first format, such as an InlineAd in the Messages component.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks