Skip to content

Repository files navigation

AI Chatbot with Groq Cloud and LLaMA 3.1

A simple AI chatbot built using Node.js, Express, and Groq Cloud's LLaMA 3.1 model.

Setup

  1. Install Node.js (LTS) from https://nodejs.org

  2. Clone or download this project.

  3. Run npm install to install dependencies.

  4. Get your Groq API key from https://console.groq.com

  5. Update the .env file with your API key:

    GROQ_API_KEY=your_actual_api_key_here
    
  6. Run the server: node server.js

  7. Open index.html in your browser.

Architecture

  • Frontend: HTML/CSS/JavaScript
  • Backend: Node.js + Express
  • AI: Groq Cloud API (LLaMA 3.1)

Features

  • Chat interface with user and AI messages
  • Real-time conversation
  • Beautiful UI with chat bubbles

For Thesis/Demo

This is a cloud-based AI chatbot using industry-standard practices. No local GPU required, scalable, and cost-efficient.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages