Skip to content

AayushiMohan/LLM-Powered-AI_Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Shiva – AI Chatbot:

A full-stack conversational AI chatbot powered by Groq's LLaMA 3.3 model, built with React and Node.js.

Tech Stack Node.js Express Groq


Overview:

Shiva is a responsive AI chatbot that uses the Groq API (LLaMA 3.3 70B) to generate intelligent, context-aware responses. It supports multi-turn conversations, meaning it remembers the chat history within a session — just like ChatGPT.


Features:

  • Multi-turn conversation with full memory
  • Real-time typing indicator
  • Dark themed responsive UI
  • Clear chat functionality
  • Enter to send, Shift+Enter for new line

Tech Stack:

Layer Technology
Frontend React, CSS
Backend Node.js, Express.js
AI Model Groq API — LLaMA 3.3 70B
Dev Tool Nodemon

Project Structure:

  • shiva-chatbot/
  • backend/ -server.js -.env -package.json
  • frontend/ -folder- src/ - App.js - App.css - index.js - package.json
  • README.md

Getting Started

Prerequisites


1. Clone the repo

git clone https://github.com/AayushiMohan/shiva-chatbot.git
cd shiva-chatbot

2. Setup Backend

cd backend
npm install

Create a .env file inside backend/:

  • GROQ_API_KEY=your_groq_api_key_here PORT=5000

Start the server:

npm run dev

Server runs on http://localhost:5000


3. Setup Frontend

Open a new terminal:

cd frontend
npm install
npm start

App runs on http://localhost:3000


4. Open in browser

Visit http://localhost:3000 and start chatting!

Both terminals must be running at the same time.


Environment Variables

Variable Description
GROQ_API_KEY Your Groq API key from console.groq.com
PORT Backend port (default: 5000)

Future Improvements

  • Save chat history with MongoDB
  • User authentication
  • Multiple AI personas
  • Deploy on Vercel + Render

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors