https://github.com/anketaube/labchatapp

https://github.com/anketaube/labchatapp

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.2%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: anketaube
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 172 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

About

This app allows you to explore a dataset by asking questions about it. It uses the OpenAI API to generate code to answer your questions and visualize the results.

This is a rewrite from the ground up of the Chat2VIS app.

Dependencies

The app uses streamlit, pandas, and matplotlib.

You need an OpenAI API key to use this app. You can get one here. You also need to add it your environment variables as OPENAIAPIKEY.

How to use

Start the app by using the following command:

streamlit run chat_data.py

Upload a dataset you want to examine.

Then, ask start questions of the data. For example, if your dataset contains information about companies, their countries of origin, and funding received, you can ask:

  • Show the average funding by company.
  • Show the number of companies by country.
  • Show the total funding by country.

The app will generate code to answer your questions. If the code executes successfully, it will also generate a plot. You can then copy and paste the code.

Sometimes, you need to tweak your question to get the code to work properly.

Owner

  • Login: anketaube
  • Kind: user

GitHub Events

Total
  • Push event: 76
  • Create event: 2
Last Year
  • Push event: 76
  • Create event: 2