Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/billwparker/chat_application

Chat Application using Streamlit and local models
https://github.com/billwparker/chat_application

Last synced: 11 days ago
JSON representation

Chat Application using Streamlit and local models

Awesome Lists containing this project

README

        

# Chat Application using Streamlit and local models

# Create conda environment, we'll call it chat
conda create -n chat python=3.11

# Install dependencies
pip install openai
pip install streamlit

# Download Ollama
(Ollama only works on Mac for Linux right now. For Windows you could use LMStudio)
https://ollama.com/

# Choose and run local model using Ollama

## This command will download the mistral model for ollama to use
ollama pull mistral

## This command will run mistral at http://localhost:11434/v1
ollama run mistral

# Streamlit app
Build Streamlit python file. We'll call it app.py.

## This command will run Streamlit app
streamlit run app.py