Skip to content

EhteZafar/Groq-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

AI Chat Interface

A modern, interactive chat application built with Next.js and FastAPI, powered by Groq's LLM API.

![Chat Interface Preview] (You can add a screenshot of your application here)

Features

  • 💬 Real-time chat interface with message bubbles
  • 🎨 Modern and responsive design
  • 🌓 Dark mode support
  • ⚡ Fast responses powered by Groq's LLM
  • 🔄 Message history tracking
  • 📱 Mobile-friendly interface

Tech Stack

Frontend

Backend

Getting Started

Prerequisites

  • Node.js 18+
  • Python 3.x
  • Groq API key

Environment Setup

  1. Clone the repository:
git clone <your-repo-url>
cd chatbot-practise
  1. Backend setup:
cd backend
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt
  1. Create a .env file in the backend directory:
GROQ_API_KEY=your_groq_api_key_here
  1. Frontend setup:
cd frontend
npm install

Running the Application

  1. Start the backend server:
cd backend
uvicorn main:app --reload

The API will be available at http://localhost:8000

  1. In a new terminal, start the frontend development server:
cd frontend
npm run dev

Open http://localhost:3000 to view the application.

Project Structure

This is a Next.js project bootstrapped with create-next-app.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors