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.
- Clone this repository
- Install the required dependencies by running
pip install -r requirements.txt- Modify
create_assistant.pyas needed, and note down theASSISTANT_ID. - Create a
secrets.tomlfile located within the.streamlit/directory. It should minimally contain these variables:OPENAI_API_KEY,ASSISTANT_ID - Launch the application:
streamlit run demo_app.py
