Skip to content

ziennaa/personal-chatbot

Repository files navigation

Personal ChatBot with Ollama (LLaMA 3)

This is a simple AI chatbot web app that runs locally using Ollama and the LLaMA 3 model. This can be done locally from your browser no API key needed!


Features

  • Interactive chatbot interface (HTML + CSS + JS)
  • Node.js + Express backend
  • LLaMA 3 model served locally using Ollama
  • No OpenAI API key or internet connection required after setup

Setup Instructions

1. Clone this repository

git clone https://github.com/yourusername/personal-chatbot.git
cd personal-chatbot

2. Install Node.js dependencies

npm install

3. Install & run Ollama

ollama pull llama3
ollama serve

4. In new terminal run node server.js and make sure ollamaaaa.js and server.js are in same file

node server.js

Limitations

  • Local only: doesn't work online can only work on your system locally
  • No memory storage: It doesn't store memory

References:

  • Coursera Hands-on Lab: Building a Basic Chatbot using ChatGPT (I've used Ollama instead of OpenAI here)
  • Chatgpt for debugging and crashes, restructuring the code and resolving server/model integration issues.

About

https://personal-chatbot-kappa.vercel.app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published