Skip to content

A simple one page Streamlit app that connects with OpenAI models. Easy to fit to how you want your interface to look like

License

Notifications You must be signed in to change notification settings

ammarasmro/LocalOpenAIChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Streamlit Interface

A Streamlit-based interface for AI Chat that supports multiple conversations, personas, and different OpenAI models. Giving you a chat history + privacy that comes from using the API

Features

  • Multiple conversation management
  • Persona creation and management
  • Support for different OpenAI models
  • Conversation renaming and deletion
  • Persistent storage of conversations and personas

Demo images

Full Window Screenshot Main chat interface with conversation management sidebar

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/chat-streamlit.git
cd chat-streamlit
  1. Install the dependencies:
pip install .
  1. Create a .env file in the root directory and add your OpenAI API key:
OPENAI_API_KEY=your_openai_api_key
  1. Run the app:
streamlit run app.py

Usage

Configuration

You can configure the following settings in config.py:

  • Default model version
  • Conversation storage location
  • Personas file location

Contributing

Just submit feature requests or a PR! as long as it stays as simple as it is.

License

This project is licensed under the MIT License - see the LICENSE file for details.

More features on the sidebar

Sidebar Screenshot

Sidebar with conversation management, persona creation, and model selection

About

A simple one page Streamlit app that connects with OpenAI models. Easy to fit to how you want your interface to look like

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages