A simple Streamlit application to consolidate OpenAI, Google, and Anthropic models into one chat interface. It includes conversation saving/loading, f

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-10-14 08:00:05

A simple Streamlit application to consolidate OpenAI, Google, and Anthropic models into one chat interface. It includes conversation saving/loading, file uploads, image generation, integrated with Firebase Firestore for persistent storage. Available models will depend on your API access, please check your development account with the various platforms.

Inside the .streamlit folder in the root directory of your project, add a file named secrets.toml with the following structure:

Place the JSON key in your root directory and name it firestore-key.json, run python key-to-toml.py and copy the content of key.toml into your secrets.toml.

Line 25 <-> 30 allows for information to be embedded into the start of the message, providing some context about the user.

The app should open in your default web browser. If it doesn't, navigate to the URL provided in the terminal output (usually http://localhost:8501).

Leave a Comment