openchatai / OpenChat

LLMs custom-chatbots console ⚡
https://open.cx
MIT License
5.2k stars 639 forks source link

Method to Install on Windows (Tested and Working) #19

Closed JeremiLorenti closed 1 year ago

JeremiLorenti commented 1 year ago

I'm fairly new to GitHub, so I am not sure of the proper way to have my updated code be checked and added to the main repo. Hoping someone can guide me. But for now, below is the edited make file I made and used to get this working on Windows 11.

https://github.com/openchatai/OpenChat/issues/11#issuecomment-1576032021

gharbat commented 1 year ago

Thank you! skimped through it quickly and indeed it should work, can you open a pull request for this change?

seoeaa commented 1 year ago

Here is the tested bat file, remove the txt extension, or create a new bat file and put it in the root of the project

make.bat.txt

voidxd commented 1 year ago

When I run the make.bat file it complains that it can't find the .env file. image

When first running it I had common.env and after that I renamed it to .env and it still returns the same error.

seoeaa commented 1 year ago

When I run the make.bat file it complains that it can't find the file..env image

When first running it I had and after that I renamed it to and it still returns the same error.common.env``.env,

No need to rename anything, download and run, just enter the data, your keys common.env, Don't forget to run docker

voidxd commented 1 year ago

@seoeaa That is exactly what I did first time. Docker is running. Filled in details in common.env, ran the .bat script and got that error.

It is only after that that I copied the common.env to .env, thinking that I couldn't get the error. But at the common.env always existed, so I'm not clear why the error if it worked in your case.

Woahai321 commented 1 year ago

I had to rename common.env to .env and copy it over.

voidxd commented 1 year ago

Here's a vid of how my output looks like in case it helps with troubleshooting, in case anyone is interested. I still haven't figured it out.

https://github.com/openchatai/OpenChat/assets/58847957/e055d19e-e2ed-4157-8a66-bec0babb544f

seoeaa commented 1 year ago

change the file name back to common.env

Here's a vid of how my output looks like in case it helps with troubleshooting, in case anyone is interested. I still haven't figured it out.

ezgif-4-7247031df5.mp4

change the file name back to common.env

seoeaa commented 1 year ago

Here's a vid of how my output looks like in case it helps with troubleshooting, in case anyone is interested. I still haven't figured it out.

ezgif-4-7247031df5.mp4

https://clipchamp.com/watch/k2x9q8IOFsn

seoeaa commented 1 year ago

I had to rename common.env to .env and copy it over. OpenChat\llm-server make sure there is a .env file in the same format as common.env

voidxd commented 1 year ago

@seoeaa Thank you very much. It worked this time.

I'm not clear why it didn't work the first time since I didn't touch the common.env file at first. I had only renamed it after it first failed.

In any case. Thanks a lot for the script, and your time and patience!

seoeaa commented 1 year ago

I just checked it with a clean install, downloaded it from github, put the file in the root, started it, everything works, you don’t need to change anything, just add data to common.env

Std1234 commented 1 year ago

Hey, thanks its installed in first attempt, but when i ask question from the bot its .... only, not giving the output any suggestions ?

seoeaa commented 1 year ago

Hey, thanks its installed in first attempt, but when i ask question from the bot its .... only, not giving the output any suggestions ?

you need to enter the keys from the gpt chat