Skip to content

A smart, extensible AI chatbot built with Next.js, powered by Koa AI Agent, OpenAI GPT-4o Mini, and MongoDB. Includes secret training mode, GitBook-powered knowledge search, and advanced conversation intelligence.

Notifications You must be signed in to change notification settings

TopTrenDev/ai-chat-bot

Repository files navigation

🧠 Koa AI Chat Bot

A smart, extensible AI chatbot built with Next.js, powered by Koa AI Agent, OpenAI GPT-4o Mini, and MongoDB. Includes secret training mode, GitBook-powered knowledge search, and advanced conversation intelligence.

Twitter Discord Telegram


✨ Features

🗣️ AI Chat

  • GPT-4o mini with Koasync knowledge
  • Context-aware conversation memory
  • Smart short/long response handling
  • Jupiter-integration awareness

🎓 Secret Training Mode

  • Hidden activation command
  • AI-powered content understanding (intent, sentiment, topics)
  • Writes training data to MongoDB
  • Learns through natural conversation

📚 GitBook Knowledge Search

  • GitBook docs imported into MongoDB
  • Hybrid search (official docs + learned data)
  • Weighted scoring (intent + keywords + exact matches)
  • Training knowledge becomes part of search

👤 Client Control

  • 100 messages/day per user
  • IP & UA usage tracking
  • Server-side abuse protection

🧼 UX / UI

  • Anime-inspired chat UI
  • Smooth animations, typing effects
  • Training state indicators

About

A smart, extensible AI chatbot built with Next.js, powered by Koa AI Agent, OpenAI GPT-4o Mini, and MongoDB. Includes secret training mode, GitBook-powered knowledge search, and advanced conversation intelligence.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages