Skip to content

avb24025/chatgpt_Gen_Ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– AI Chatbot (GenAI Agent)

An intelligent AI-powered chatbot built using the MERN stack, integrating OpenAI’s API for natural language understanding and Tavily Web Search API for real-time web information retrieval.
The bot maintains chat context using the node-cache package, allowing seamless and memory-efficient multi-turn conversations.


πŸš€ Features

  • 🧠 Generative AI Responses β€” powered by OpenAI API for human-like replies.
  • 🌐 Web Search Integration β€” uses Tavily API to fetch up-to-date web results.
  • πŸ’¬ Chat Context Memory β€” managed using NodeCache for personalized and coherent conversations.
  • ⚑ MERN Stack Architecture β€” React frontend, Node.js/Express backend, MongoDB database.
  • πŸ”’ Environment-based Configuration β€” secure API key storage via .env files.
  • 🌍 CORS Configured β€” supports cross-origin requests between frontend and backend.
  • 🧩 Scalable & Extensible β€” modular backend with controller routes and easy API expansion.

πŸ› οΈ Tech Stack

Layer Technology
Frontend React + Vite + Tailwind CSS
Backend Node.js + Express.js
Database MongoDB
AI/ML APIs OpenAI API
Web Search API Tavily Web Search
Caching NodeCache
Environment Management dotenv
Deployment Vercel (Frontend & Backend)

About

A bot having web search functionality with chat context

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors