hafidzdaud / DAVE

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

License:MIT License


Languages

Language:Python 100.0%