Giter VIP home page Giter VIP logo

chatbot_with_ollama_and_streamlit's Introduction

Ollama Chatbot with Streamlit

Ollama Chatbot with Streamlit

This project is a simple chatbot application built using Streamlit and the Ollama language model. The chatbot can interact with users, maintaining a conversation history and streaming responses in real-time.

Table of Contents

Installation

Prerequisites

  1. Python 3.7 or higher
  2. pip (Python package installer)

Steps

  1. Clone the Repository

    git clone https://github.com/chiragjoshi12/chatbot_with_ollama_and_streamlit.git
    cd chatbot_with_ollama_and_streamlit
  2. Install Required Packages

    Create a virtual environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`

    Install dependencies:

    pip install -r requirements.txt
  3. Install Ollama & Load Model in Your System

    Follow the instructions in this video by Harper Caroll to install Ollama and load models locally.

Usage

  1. Run the Streamlit App

    streamlit run app.py
  2. Interact with the Chatbot

    Open the provided URL in your web browser. You can start interacting with the chatbot, and it will maintain the conversation history.

Project Structure

  • app.py: Main application file containing the Streamlit app code.
  • requirements.txt: A list of Python packages required to run the application.

Acknowledgements

  • Harper Caroll for the video tutorial on how to install Ollama and load models locally.
  • Streamlit for providing an easy way to create web applications for machine learning and data science.
  • Ollama for the language models used in the chatbot.

Readme made with ๐Ÿ’– using README Generator by Chirag Joshi

chatbot_with_ollama_and_streamlit's People

Contributors

chiragjoshi12 avatar

Stargazers

Rajesh Rajgor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.