From 97fd239980d6870781d7c7c7663225a94b87f49b Mon Sep 17 00:00:00 2001 From: Huxley Mc <29369728+HuxleyMc@users.noreply.github.com> Date: Sun, 23 Jul 2023 17:29:44 +1000 Subject: [PATCH] fix: backend env path in install helper and docs (#737) --- docs/docs/backend/llm/private-llm.md | 2 +- docs/docs/get_started/intro.md | 2 +- install_helper.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/backend/llm/private-llm.md b/docs/docs/backend/llm/private-llm.md index f4d32ed51..716a235b1 100644 --- a/docs/docs/backend/llm/private-llm.md +++ b/docs/docs/backend/llm/private-llm.md @@ -12,7 +12,7 @@ This means that your data never leaves the server. The LLM is downloaded to the ## How to use -Set the 'private' flag to True in the /backend/.env file. You can also set other model parameters in the .env file. +Set the 'private' flag to True in the /backend/core/.env file. You can also set other model parameters in the .env file. Download the GPT4All model from [here](https://gpt4all.io/models/ggml-gpt4all-j-v1.3-groovy.bin) and place it in the /backend/local_models folder. Or you can download any model from their ecosystem on there [website](https://gpt4all.io/index.html). diff --git a/docs/docs/get_started/intro.md b/docs/docs/get_started/intro.md index 0a835d0db..0060d6e69 100644 --- a/docs/docs/get_started/intro.md +++ b/docs/docs/get_started/intro.md @@ -85,7 +85,7 @@ cp .frontend_env.example frontend/.env > _The `NEXT_PUBLIC_BACKEND_URL` is set to localhost:5050 for the docker. Update it if you are running the backend on a different machine._ -> _To activate vertexAI with PaLM from GCP follow the instructions [here](https://python.langchain.com/en/latest/modules/models/llms/integrations/google_vertex_ai_palm.html) and update `backend/.env`- It is an advanced feature, please be expert in GCP before trying to use it_ +> _To activate vertexAI with PaLM from GCP follow the instructions [here](https://python.langchain.com/en/latest/modules/models/llms/integrations/google_vertex_ai_palm.html) and update `backend/core/.env`- It is an advanced feature, please be expert in GCP before trying to use it_ - [ ] Change variables in `backend/core/.env` - [ ] Change variables in `frontend/.env` diff --git a/install_helper.sh b/install_helper.sh index 4f484e184..880a0784e 100755 --- a/install_helper.sh +++ b/install_helper.sh @@ -23,7 +23,7 @@ replace_in_file() { # Step 2: Copy the .XXXXX_env files if they don't exist if [ ! -f backend/core/.env ]; then echo "Copying backend-core .env example file..." - cp .backend_env.example backend/.env + cp .backend_env.example backend/core/.env fi if [ ! -f frontend/.env ]; then