finic-ai / rag-stack

🤖 Deploy a private ChatGPT alternative hosted within your VPC. 🔮 Connect it to your organization's knowledge base and use it as a corporate oracle. Supports open-source LLMs like Llama 2, Falcon, and GPT4All.
https://www.chatmyfiles.com/
MIT License
1.47k stars 141 forks source link

UI gives blank page #36

Open AI-Zebra opened 1 year ago

AI-Zebra commented 1 year ago

I feel there is no detailed info on running UI. I tried building the rag-ui and run with port 5173 exposed. But getting a blank page in browser (no errors, 200 OK in curl) curl localhost:5173 <!DOCTYPE html>

Chat My Files

But the browser is just white blank page.

lancedouglas1 commented 1 year ago

I got a blank page when the server wasn't available on the port configured in the .env. If you server is not local, try to curl the server address from your local machine to make sure it is reachable.

AI-Zebra commented 1 year ago

@lancedouglas1 thanks for responding quick! From within the UI container, I can reach the rag-server service port:

curl 52.226.201.183:8081 {"detail":"Not Found"}root@cb67c8062fad:/ragstack#

I have configured this (rag-server service) in .env.

When I do a curl of UI, I get the html o/p as described in my first post. But when I open the same on the browser, I get blank screen!

curl to the rag-server service says detail:not found as above. do you also get similar?

lancedouglas1 commented 1 year ago

@AI-Zebra sorry, I gave up on the package and moved on.

AI-Zebra commented 1 year ago

@lancedouglas1 thanks, are you able to see the UI, however?

Siddhijain16 commented 1 year ago

hi @AI-Zebra @lancedouglas1 when I run the command ./scripts/local/run-dev.sh its display like this

image where I am getting wrong please let me know and also to open the UI also.

Victorivus commented 1 year ago

hi @AI-Zebra @lancedouglas1 when I run the command ./scripts/local/run-dev.sh its display like this

image where I am getting wrong please let me know and also to open the UI also.

Same here... Trying to get an answer (https://github.com/psychic-api/rag-stack/issues/47)