pandas-ai icon indicating copy to clipboard operation
pandas-ai copied to clipboard

CLI

Open victor-hugo-dc opened this issue 1 year ago • 2 comments

Command-Line Interface Tool From #104, I took the liberty to design a simple CLI tool that handles a variety of file type inputs (not just .csv) and can either take in a users token in the command line or can pull from the .env file directly. For the best user experience, I have set the default output of pandasai to be verbose and made sure to implement various error checks that print out only a single line detailing what went wrong.

Screenshot 2023-05-10 at 7 45 59 PM

victor-hugo-dc avatar May 10 '23 01:05 victor-hugo-dc

I agree with @avelino. What he suggested is important, but first the package must have the CLI implemented.

His proposal is a nice to have in future versions. Perhaps @avelino could open another issue to track it.

HenriqueAJNB avatar May 13 '23 12:05 HenriqueAJNB

I agree with @avelino. What he suggested is important, but first the package must have the CLI implemented.

His proposal is a nice to have in future versions. Perhaps @avelino could open another issue to track it.

@HenriqueAJNB "could use": recommendation to use, not ~~forcing~~

avelino avatar May 13 '23 13:05 avelino

@victor-hugo-dc tested, works super cool.

2 things left:

  • fix the linter errors
  • add an example of how to set it up and how to run it in the README.md

Great job @victor-hugo-dc 🎊

gventuri avatar May 15 '23 22:05 gventuri