Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itsmeuttu/chatgpt-clone
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.
https://github.com/itsmeuttu/chatgpt-clone
chatgpt chatgpt-clone llama3 ollama streamlit streamlit-webapp
Last synced: about 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/itsmeuttu/chatgpt-clone
- Owner: itsmeuttu
- Created: 2024-07-28T18:47:46.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-05T10:29:18.000Z (6 months ago)
- Last Synced: 2024-12-22T04:27:01.162Z (about 2 months ago)
- Topics: chatgpt, chatgpt-clone, llama3, ollama, streamlit, streamlit-webapp
- Homepage:
- Size: 46.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```sh
git clone https://github.com/itsmeuttu/ChatGPT-clone.git
cd ChatGPT-clone
```
### Create a Virtual Environment and Activate It```python3 -m venv venv
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.