gorilla-llm / gorilla-cli

LLMs for your CLI
https://gorilla.cs.berkeley.edu/
Apache License 2.0
1.28k stars 75 forks source link

Windows installer for CLI #47

Closed adistomar closed 5 months ago

adistomar commented 1 year ago

Adds a windows installer to automate pip install for gorilla-cli, addressing Ideas discussion #103 and QnA discussion #40. Requires Python and pip to be installed on the user's machine, but completely automates installation process of gorilla-cli.

ShishirPatil commented 1 year ago

Hey @RoastSea8 thanks for the PR! This is very timely. A few quick comments:

  1. Can you also commit the script that you used to come up with the exe so we can keep it updated as and when needed?
  2. If python/pip are not installed what is the fallback mechanism? Is there a way we side step this.. Thoughts? Thanks!!
adistomar commented 1 year ago

Hi @ShishirPatil

  1. I've committed the script.
  2. The most we can do if the user does not have python/pip installed is download the package on their device (i.e., there is a way to automate the installation of the package on the local device without pip). However, as per my research, locally downloading the package does not allow the user to use gorilla's commands in the CLI. I believe even adding the package's directory path to PATH as an environment variable doesn't "activate" the usage in the command line of gorilla=go_cli:main, specified in setup.py. Using gorilla's commands in the CLI requires either that gorilla-cli be downloaded via pip or that the project's setup.py file be run using python. We can set up a call and discuss further if you'd like.