Skip to content

Dash application presented by Nathan Drezner at the All in AI (https://allinevent.ai/) conference in Montreal on September 27, 2023

Notifications You must be signed in to change notification settings

plotly/all-in-ai-demo-app

Repository files navigation

All in AI Demo App

A demo app for the All in AI presentation on September 27, 2023.

Developed & presented by Nathan Drezner (@ndrezn).

All-in-AI.mp4

This application uses Dash Chart Editor and the OpenAI Python library to build an application allowing users to ask questions about a dataset and persist views of their dataset with analytics associated.

Once a dataset is uploaded, context on that dataset is added to the prompt for the chat window, and users can interact with the dataset with natural language. After building charts, users can click the "Copy link" button to save those charts to a permanent link, using Redis to save state.

Usage

Note: You must provide an OpenAI API key as an environment variable at $OPEN_AI_KEY.

Install the dependencies with:

pip install -r requirements.txt

And run the application with:

python app.py

Or, provide your API key directly if it is not in your environment:

OPEN_AI_KEY=... python app.py

About

Dash application presented by Nathan Drezner at the All in AI (https://allinevent.ai/) conference in Montreal on September 27, 2023

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published