Skip to content

itsmeuttu/ChatGPT-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT clone using Ollama

This Streamlit application allows users to interact with various local language models using a chat interface locally. The selected language model is used to process user prompts and provide responses.

alt text

Features

  • Model Selection: Choose from locally available language models.
  • Chat Interface: Interact with the selected model using a chat-like interface.
  • Localhost: Use it without internet connection

Requirements

  • Streamlit
  • Ollama Python library

Installation

Download the ollama : https://ollama.com/download Download any LLM: https://ollama.com/library

Step 1: Clone the Repository

git clone https://github.com/itsmeuttu/ChatGPT-clone.git
cd ChatGPT-clone

Create a Virtual Environment and Activate It

source venv/bin/activate  
# On Windows use `venv\Scripts\activate`

Step 3: Install the Required Packages

pip install -r requirements.txt

Usage

Step 1: Run the Streamlit App

streamlit run main.py

Step 3: Interact with the Chat Interface

  • Select a model from the sidebar.
  • Enter a prompt in the chat input box.
  • View the model's response.

About

This repository contains a ChatGPT clone built using the Ollama library and Streamlit. The project demonstrates how to create a conversational AI application that leverages the power of large language models to provide interactive and engaging user experiences.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors