mirror of
https://github.com/StanGirard/quivr.git
synced 2024-08-16 16:40:40 +03:00
fix: backend env path in install helper and docs (#737)
This commit is contained in:
parent
117395d7fb
commit
97fd239980
@ -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).
|
||||
|
||||
|
@ -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`
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user