Skip to content

srinathk442/AI-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

AI Chatbot β€” Next.js + OpenAI GPT-3.5

This is a modern AI chatbot web application built with Next.js, React, TypeScript, and Tailwind CSS, powered by OpenAI's GPT-3.5 model. It offers a clean, responsive interface that allows users to engage in intelligent, real-time conversations with an AI assistant.

The project uses the latest features from Next.js 15, including the App Router, optimized font loading, and TypeScript support. Tailwind CSS is used for styling, ensuring a mobile-friendly and performant UI across all devices.

The chatbot interacts with the OpenAI API to generate context-aware responses based on user prompts, making it suitable for use cases such as virtual assistants, help desk bots, tutoring systems, and more.

🧠 Key Features

  • Real-time AI-powered chat using OpenAI GPT-3.5
  • Built with Next.js App Router and React 19
  • Modern UI with Tailwind CSS
  • Fully responsive and mobile-optimized
  • Clean and modular code structure with TypeScript
  • Easy to customize for various conversational use cases

βš™οΈ Getting Started

  1. Install dependencies:
    npm install or yarn

  2. Start development server:
    npm run dev

  3. Open http://localhost:3000 in your browser.

  4. To configure the OpenAI backend, add your API key in a .env.local file:
    OPENAI_API_KEY=your-key-here

πŸ“Œ About the Project

This chatbot is designed to be lightweight, scalable, and easy to integrate into any project requiring natural language interaction. By leveraging OpenAI GPT-3.5, it delivers highly accurate and human-like responses.

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published