Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

jonahgeorge/langchain-csv-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LangChain CSV Analytics

Getting Started

  1. Setup environment

    pip install -r requirements.txt
  2. Run the program

    python main.py -h
    usage: main.py [-h] [--csv CSV] [-v] [--openapi_key OPENAPI_KEY]
    
    options:
    -h, --help            show this help message and exit
    --csv CSV             CSV file
    -v, --verbose         Print debug messages
    --openapi_key OPENAPI_KEY
                            OpenAPI API key <https://platform.openai.com/account/api-keys>

Examples

python main.py --csv examples/city.csv --openapi_key "sk-XXX"
> How many cities start with 'P'
There are 18 cities that start with 'P'

> What's the p90 of city population?
The 90th percentile of city population is 522224.3000000004

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages