Skip to content

A simple chatbot interface that integrates with the Ollama model, allowing you to run commands and receive responses through a web-based UI.

Notifications You must be signed in to change notification settings

shakib75bd/ollama3.2_webUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ollama Offline Chatbot Interface

A simple ChatGPT like chatbot interface that integrates with the Ollama model, allowing you to run commands and receive responses through a web-based UI.

Table of Contents

Features

  • Interactive chatbot UI similar to ChatGPT.
  • Run commands and receive responses in real-time.
  • Responsive design for various screen sizes.
  • Easy to set up and use.

Technologies Used

  • Python - Backend framework (Django).
  • HTML/CSS - Frontend interface.
  • JavaScript - For handling user input and fetching responses.
  • Ollama - Model integration for generating responses.

Getting Started

Follow these steps to set up the project on your local machine.

Prerequisites

Make sure you have the following:

  • Linux/Mac/Windows CL (Recommended| RAM: 16 GB, Minimum: 8 GB | GPU: External, Minimum: APU(slower) | CPU: Octa-Core, Minimum: Quad-core | Storage: 20 GB, Minimum: 5 GB)
  • Python (3.8 or above)
  • Django
  • Ollama (Ensure it's installed and configured correctly), Here's everything step by step:

Install Ollama

   curl -fsSL https://ollama.com/install.sh | sh
   ollama  serve
  ollama run llama3.2
  • Anaconda or virtual environment (optional but recommended)

Installation

  1. Clone the Repository

    git clone https://github.com/shakib75bd/ollama3.2_webUI
    cd ollama3.2_webUI
  2. Create a Virtual Environment (Optional)

    conda create -n ollamaChatbot python=3.9
    conda activate ollamaChatbot
  3. Install Required Packages Ensure you are in the project directory and run:

    pip install django
  4. Start the Development Server

    python manage.py runserver
  5. Access the Chatbot Interface Open your web browser and go to:

    http://127.0.0.1:8000
    

Usage

  • Enter your command in the input field and click "Run Command" or press Enter.
  • The chatbot will display the response in the chat box.

Credits

  • Shakib Hossen Shanto, 2024

About

A simple chatbot interface that integrates with the Ollama model, allowing you to run commands and receive responses through a web-based UI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published