neokd / NeoGPT

Chat effortlessly, execute commands, and interpret code with Llama3, Phi3, and more - your local AI assistant. Enjoy seamless interaction while ensuring ultimate privacy
https://neogpt.dev
MIT License
78 stars 64 forks source link

Create Shell Script for Easy Execution #43

Closed neokd closed 11 months ago

neokd commented 11 months ago

Develop a shell script (e.g., a Bash script) that simplifies the process of running NeoGPT by executing the necessary commands and options. This script should allow users to quickly start NeoGPT without needing to remember complex command-line arguments.

Mohitraut07 commented 11 months ago

can I try this

neokd commented 11 months ago

@Mohitraut07 yeah sure

Mohitraut07 commented 11 months ago

I know it has been a significant delay still I have created a PR.

bryce-seefieldt commented 11 months ago

I have been experimenting with some solutions to this issue. Hoping I can create a PR to review my approach. If so, just had some questions before proceeding.

  1. Where would you like the .sh file to be saved within the directory?
  2. What assumptions can I make about the user's current environment when running the script? Would you like assume that the user is setup to run the script from Anaconda Command Prompt?
  3. Should we assume the user has already populated a builder.url file and/or added files to the document directory? Or do you want some kind of prompt to advise them to do this prior to proceeding?
neokd commented 11 months ago

.sh should be in the root of the project. You can check users for python and proceed with that. Builder.url doesn't have any role if it's empty as there is no prbm. Builder.py will handle it.