@@ -31,31 +31,14 @@ If you are using Neo4j Desktop, you will not be able to use the docker-compose b
3131### Local deployment
3232#### Running through docker-compose
3333By 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.
3535EX:
3636``` env
3737VITE_LLM_MODELS_PROD="openai_gpt_4o,openai_gpt_4o_mini,diffbot,gemini_1.5_flash"
3838```
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"
4939OPENAI_API_KEY="your-openai-key"
5040```
5141
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-
5942You can then run Docker Compose to build and start all components:
6043```bash
6144docker-compose up --build
@@ -79,7 +62,7 @@ You can of course combine all (local, youtube, wikipedia, s3 and gcs) or remove
7962### Chat Modes
8063
8164By 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+
8366If none of the mode is mentioned in the chat modes variable all modes will be available:
8467``` env
8568VITE_CHAT_MODES=""
@@ -123,7 +106,7 @@ Alternatively, you can run the backend and frontend separately:
123106To deploy the app and packages on Google Cloud Platform, run the following command on google cloud run:
124107` ` ` bash
125108# 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
127110source location current directory > Frontend
128111region : 32 [us-central 1]
129112Allow unauthenticated request : Yes
0 commit comments