This Streamlit application demonstrates an implementation of LIDA using Streamlit as a front end library.
LIDA is a library for generating data visualizations and data-faithful infographics. LIDA is grammar agnostic (will work with any programming language and visualization libraries e.g. matplotlib, seaborn, altair, d3 etc) and works with multiple large language model providers (OpenAI, Azure OpenAI, PaLM, Cohere, Huggingface). Details on the components of LIDA are described in the paper here and in this tutorial notebook.
See the project page here for updates!.
Exploring this application will help developers familiarize themselves with Large Language Models' integration, specific operations like data summarization, goal selection, and visualization. It also teaches developers how to manage secrets (like API keys) securely using .env files and showcases how to utilize pre-trained models for text generation.
- You need to have Python 3.7+ and pip installed.
- Clone the repo and navigate to the project directory.
- Install the required dependencies by running
pip install -r requirements.txt
. - Get your OpenAI API key and set it as an environment variable.
- Run
streamlit run main.py
in the terminal to launch the application in your web browser.
streamlit run main.py
This project welcomes contributions and suggestions.
Happy Learning!