fix: backend env path in install helper and docs (#737)

This commit is contained in:
Huxley Mc 2023-07-23 17:29:44 +10:00 committed by GitHub
parent 117395d7fb
commit 97fd239980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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