Flowco a new mixed-initiative system leveraging visual dataflow programming and LLMs to support authoring reliable and robust data analyses.
Project description
Flowco
by Emery Berger, Stephen Freund, Eunice Jun, Brooke Simon (ordered alphabetically)
Flowco is a system for authoring data analysis workflows with LLM assistance at every stage of the process. Flowco employs a dataflow programming model that serves as a foundation for reliable LLM-centric programming.
Watch Flowco in Action!
| Demo Video | Tutorial Video | Exploratoration | Multiverse Analysis | Logistic Regression |
|---|---|---|---|---|
For technical details, see our arXiv paper, Flowco: Rethinking Data Analysis in the Age of LLMs.
Web Service
You can try Flowco on the web here.
[!NOTE] This web service is intended for demonstration and experimentation only. It should scale to a modest number of users, but if it is slow or unresponsive, please try again later or install locally.
Local Installation
Configuration
- Use a conda virtual environment or some other virtual environment.
- Use Python 3.11+.
- Ensure
dotis on your path.
OpenAI API Key
[!IMPORTANT]
Flowco needs to be connected to an OpenAI account. Your account will need to have a positive balance for this to work (check your balance). Get a key here.
Once you have an API key, set it as an environment variable called
OPENAI_API_KEY.export OPENAI_API_KEY=<your-api-key>
Installing
From Pypi [Recommended]
With pip:
pip3 install flowco
From Source
Or clone the repo and install as an editable package.
pip3 install -e .
This installs a bunch of normal packages, a custom component for Streamlit, and then Flowco as an editable package that you can run locally (rather than as the web service).
Running
On the command line, run flowco, passing it the directory in which to store its files. That directory
should already exist:
mkdir /tmp/example
flowco /tmp/example
The first time you run, it may take 15-20 seconds to bring up the web page. It should launch more quickly after that.
Flowco will intially open a welcome.flowco graph. Follow the instructions in the right-hand panel to get started. Then proceed through the numbered tutorials to experiment with additional features.
Use -v to turn on logging.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flowco-0.69.0.tar.gz.
File metadata
- Download URL: flowco-0.69.0.tar.gz
- Upload date:
- Size: 31.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e988b0d723d6f8d070b4a88f60183c16d9f6aa232220a76fb6f8e167ef73d4cb
|
|
| MD5 |
ae4bd0fd3a446a4514ccd1fc6d94bcad
|
|
| BLAKE2b-256 |
26e52a4182da017a7afe1efa887feb55b95d9b2638d45ca4bd09ce9dbbd11764
|
File details
Details for the file flowco-0.69.0-py3-none-any.whl.
File metadata
- Download URL: flowco-0.69.0-py3-none-any.whl
- Upload date:
- Size: 13.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3920f091c0104dea9ae9cbdf7e8f8236e701adcc78b7bd7a7030e3572e02653d
|
|
| MD5 |
ad2538246aca3e924a382e5cd4bdd6e9
|
|
| BLAKE2b-256 |
4a86825186c31db3d8cf6a06d130e2e4e9d6d6bb07c5dc579b744cf67b4af774
|