OpenChat icon indicating copy to clipboard operation
OpenChat copied to clipboard

Method to Install on Windows (Tested and Working)

Open JeremiLorenti opened this issue 1 year ago • 14 comments

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

JeremiLorenti avatar Jun 05 '23 04:06 JeremiLorenti

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

gharbat avatar Jun 05 '23 22:06 gharbat

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

seoeaa avatar Jun 07 '23 22:06 seoeaa

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.

voidxd avatar Jun 08 '23 21:06 voidxd

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

seoeaa avatar Jun 08 '23 21:06 seoeaa

@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.

voidxd avatar Jun 08 '23 23:06 voidxd

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

Woahai321 avatar Jun 09 '23 03:06 Woahai321

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

voidxd avatar Jun 09 '23 08:06 voidxd

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 avatar Jun 09 '23 08:06 seoeaa

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 avatar Jun 09 '23 08:06 seoeaa

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

seoeaa avatar Jun 09 '23 09:06 seoeaa

@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!

voidxd avatar Jun 09 '23 09:06 voidxd

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

seoeaa avatar Jun 09 '23 09:06 seoeaa

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

Std1234 avatar Jun 09 '23 22:06 Std1234

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

seoeaa avatar Jun 09 '23 22:06 seoeaa