@@ -44,6 +44,19 @@ If you have a resource-constrained PC, try increasing `HEALTHCHECK_START_PERIOD`
4444enough before healthcheck begins.
4545For more information, please refer to this [ link] ( https://docs.docker.com/reference/compose-file/services/#healthcheck )
4646
47+ #### Supported Gemini Models
48+
49+ You can specify the Gemini model version using the environment variable ` GOOGLE_GEMINI ` in your ` .env ` file.
50+ The following models are supported:
51+
52+ | Environment Value | Model Name | Description |
53+ | ------------------| ------------------| -------------|
54+ | ` 1_pro ` | ` gemini-pro ` | Legacy Gemini 1 Pro model (Vertex AI / Generative AI Studio). |
55+ | ` 1.5_flash ` | ` gemini-1.5-flash ` | Lightweight, faster model suitable for low-latency tasks. |
56+ | ` 1.5_pro ` | ` gemini-1.5-pro ` | More capable model for complex reasoning and higher-quality outputs. |
57+ | ` 2.5_flash ` | ` gemini-2.5-flash ` | Latest generation, faster and more accurate than 1.5_flash. |
58+
59+ Set the model by updating your ` .env ` file:
4760``` bash
4861cd backend
4962cp .env.example .env
@@ -60,9 +73,9 @@ make docker-down
6073
6174### Prerequisites
6275
63- - [ ` uv ` ] ( https://docs.astral.sh/uv/ ) (for managing Python, virtual environments, and dependencies)
64- - ` wget `
65- - ` pandoc `
76+ - [ ` uv ` ] ( https://docs.astral.sh/uv/ ) (for managing Python, virtual environments, and dependencies)
77+ - ` wget `
78+ - ` pandoc `
6679- ` git `
6780
6881** Step 1** : Install the required dependencies.
@@ -141,12 +154,12 @@ flowchart LR
141154 id1([Vectorstore]) --- id3([MMR Retriever])
142155 id1([Vectorstore]) --- id4([BM25 Retriever])
143156
144- id2([Semantic Retriever]) -- Retrieved Docs ---> id5([Reranking])
157+ id2([Semantic Retriever]) -- Retrieved Docs ---> id5([Reranking])
145158 id3([MMR Retriever]) -- Retrieved Docs ---> id5([Reranking])
146159 id4([BM25 Retriever]) -- Retrieved Docs ---> id5([Reranking])
147160
148161 id5([Reranking]) ---> id6(top-n docs)
149-
162+
150163```
151164
152165Depending on the input query, each query can be forwarded to any one of the following retrievers,
0 commit comments