A simple AI chatbot built using Node.js, Express, and Groq Cloud's LLaMA 3.1 model.
-
Install Node.js (LTS) from https://nodejs.org
-
Clone or download this project.
-
Run
npm installto install dependencies. -
Get your Groq API key from https://console.groq.com
-
Update the
.envfile with your API key:GROQ_API_KEY=your_actual_api_key_here -
Run the server:
node server.js -
Open
index.htmlin your browser.
- Frontend: HTML/CSS/JavaScript
- Backend: Node.js + Express
- AI: Groq Cloud API (LLaMA 3.1)
- Chat interface with user and AI messages
- Real-time conversation
- Beautiful UI with chat bubbles
This is a cloud-based AI chatbot using industry-standard practices. No local GPU required, scalable, and cost-efficient.