Skip to content

manikesh12/gpt-assistants-api-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpt-assistants-api-ui

  • 💬 OpenAI Assistants API chat UI
  • 🛠️ It works easily by setting the ASSISTANT ID
  • 📁 Supports file upload and file download
スクリーンショット 2023-11-20 2 23 51

🌟 Quick Start

  1. 📦 Install dependencies

    $ poetry install
  2. 🔑 Set environment variables

    OPENAI_API_KEY="sk-xxx"
    ASSISTANT_ID="asst_xxx"
    
    ASSISTANT_TITLE="Assistants API UI"
    ENABLED_FILE_UPLOAD_MESSAGE="Upload a file" # Leave empty to disable
  3. 🏃‍️ Run the app

    $ poetry shell
    $ streamlit run app.py

🌐 Deploy to Streamlit Cloud

You can fork this repository and deploy the app to https://share.streamlit.io/. No need to run the app on your local machine.

Don't forget to choose 3.10 as the Python version and set environment variables in the "Advanced settings" during deployment.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.1%
  • Dockerfile 3.9%