Skip to content

Streamlit app implementation of OpenAI Assistants API (with Code Interpreter)

License

Notifications You must be signed in to change notification settings

gabrielchua/DAVE

Repository files navigation

DAVE: Data Analysis & Visualisation Engine

Streamlit App

This Streamlit application analyses a given dataset with OpenAI's Assistants API with Code Interpreter. The Assistant's analysis, including the Python code the assistant will write & execute, will streamed to the app's user interface.

Demo 1 Demo 2

Quick Start

  1. Clone this repository
  2. Install the required dependencies by running
pip install -r requirements.txt
  1. Modify create_assistant.py as needed, and note down the ASSISTANT_ID.
  2. Create a secrets.toml file located within the .streamlit/ directory. It should minimally contain these variables: OPENAI_API_KEY, ASSISTANT_ID
  3. Launch the application:
streamlit run demo_app.py

About

Streamlit app implementation of OpenAI Assistants API (with Code Interpreter)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages