@@ -31,31 +31,14 @@ If you are using Neo4j Desktop, you will not be able to use the docker-compose b
31
31
### Local deployment
32
32
#### Running through docker-compose
33
33
By default only OpenAI and Diffbot are enabled since Gemini requires extra GCP configurations.
34
- Accoroding to enviornment we are configuring the models which is indicated by VITE_LLM_MODELS_PROD variable we can configure model based on our need.
34
+ According to enviornment we are configuring the models which is indicated by VITE_LLM_MODELS_PROD variable we can configure model based on our need.
35
35
EX:
36
36
``` env
37
37
VITE_LLM_MODELS_PROD="openai_gpt_4o,openai_gpt_4o_mini,diffbot,gemini_1.5_flash"
38
38
```
39
- According to the environment, we are configuring the models which indicated by VITE_LLM_MODELS_PROD variable we can configure models based on our needs.
40
- EX:
41
- ``` env
42
- VITE_LLM_MODELS_PROD="openai_gpt_4o,openai_gpt_4o_mini,diffbot,gemini_1.5_flash"
43
- ```
44
-
45
- if you only want OpenAI:
46
- ``` env
47
- VITE_LLM_MODELS_PROD="diffbot,openai-gpt-3.5,openai-gpt-4o"
48
- VITE_LLM_MODELS_PROD="diffbot,openai-gpt-3.5,openai-gpt-4o"
49
39
OPENAI_API_KEY="your-openai-key"
50
40
```
51
41
52
- if you only want Diffbot:
53
- ``` env
54
- VITE_LLM_MODELS_PROD="diffbot"
55
- VITE_LLM_MODELS_PROD="diffbot"
56
- DIFFBOT_API_KEY="your-diffbot-key"
57
- ```
58
-
59
42
You can then run Docker Compose to build and start all components:
60
43
```bash
61
44
docker-compose up --build
@@ -79,7 +62,7 @@ You can of course combine all (local, youtube, wikipedia, s3 and gcs) or remove
79
62
### Chat Modes
80
63
81
64
By default,all of the chat modes will be available: vector, graph_vector, graph, fulltext, graph_vector_fulltext , entity_vector and global_vector.
82
- By default,all of the chat modes will be available: vector, graph_vector, graph, fulltext, graph_vector_fulltext , entity_vector and global_vector.
65
+
83
66
If none of the mode is mentioned in the chat modes variable all modes will be available:
84
67
``` env
85
68
VITE_CHAT_MODES=""
@@ -123,7 +106,7 @@ Alternatively, you can run the backend and frontend separately:
123
106
To deploy the app and packages on Google Cloud Platform, run the following command on google cloud run:
124
107
` ` ` bash
125
108
# Frontend deploy
126
- gcloud run deploy dev-frontend --set-env-vars " VITE_BACKEND_API_URL= " --set-env-vars " VITE_FRONTEND_HOSTNAME=hostname.us-central1.run.app " --set-env-vars " VITE_SEGMENT_API_URL=https://cdn.segment.com/v1/projects/4SGwdwzuDm5WkFvQtz7D6ATQlo14yjmW/settings "
109
+ gcloud run deploy dev-frontend
127
110
source location current directory > Frontend
128
111
region : 32 [us-central 1]
129
112
Allow unauthenticated request : Yes
0 commit comments