You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ The following environment variables are required to run the application:
61
61
-`PDF_EXTRACT_IMAGES`: (Optional) A boolean value indicating whether to extract images from PDF files. Default value is "False".
62
62
-`DEBUG_RAG_API`: (Optional) Set to "True" to show more verbose logging output in the server console, and to enable postgresql database routes
63
63
-`CONSOLE_JSON`: (Optional) Set to "True" to log as json for Cloud Logging aggregations
64
-
-`EMBEDDINGS_PROVIDER`: (Optional) either "openai", "bedrock", "azure", "huggingface", "huggingfacetei"or "ollama", where "huggingface" uses sentence_transformers; defaults to "openai"
64
+
-`EMBEDDINGS_PROVIDER`: (Optional) either "openai", "bedrock", "azure", "huggingface", "huggingfacetei", "ollama" or "mistral", where "huggingface" uses sentence_transformers; defaults to "openai"
65
65
-`EMBEDDINGS_MODEL`: (Optional) Set a valid embeddings model to use from the configured provider.
66
66
-**Defaults**
67
67
- openai: "text-embedding-3-small"
@@ -70,6 +70,7 @@ The following environment variables are required to run the application:
70
70
- huggingfacetei: "http://huggingfacetei:3000". Hugging Face TEI uses model defined on TEI service launch.
71
71
- ollama: "nomic-embed-text"
72
72
- bedrock: "amazon.titan-embed-text-v1"
73
+
- mistral: "mistral-embed"
73
74
-`RAG_AZURE_OPENAI_API_VERSION`: (Optional) Default is `2023-05-15`. The version of the Azure OpenAI API.
74
75
-`RAG_AZURE_OPENAI_API_KEY`: (Optional) The API key for Azure OpenAI service.
75
76
- Note: `AZURE_OPENAI_API_KEY` will work but `RAG_AZURE_OPENAI_API_KEY` will override it in order to not conflict with LibreChat setting.
@@ -83,6 +84,7 @@ The following environment variables are required to run the application:
83
84
-`AWS_DEFAULT_REGION`: (Optional) defaults to `us-east-1`
84
85
-`AWS_ACCESS_KEY_ID`: (Optional) needed for bedrock embeddings
85
86
-`AWS_SECRET_ACCESS_KEY`: (Optional) needed for bedrock embeddings
87
+
-`MISTRAL_API_KEY`: (Optional) needed for mistral embeddings
86
88
87
89
Make sure to set these environment variables before running the application. You can set them in a `.env` file or as system environment variables.
0 commit comments