From 639ece239e9cdefec5601ca518564f4918b2230a Mon Sep 17 00:00:00 2001 From: Thomas Mecattaf <105132455+mecattaf@users.noreply.github.com> Date: Tue, 20 May 2025 08:00:18 -0400 Subject: [PATCH] Update env-configuration.md Added documentation for RAG_ALLOWED_FILE_EXTENSIONS --- docs/getting-started/env-configuration.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index 0b62e3c..6816b51 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -1457,6 +1457,18 @@ When configuring `RAG_FILE_MAX_SIZE` and `RAG_FILE_MAX_COUNT`, ensure that the v ::: +#### `RAG_ALLOWED_FILE_EXTENSIONS` + +- Type: `list` of `str` +- Default: `[]` (which means all supported file types are allowed) +- Description: Specifies which file extensions are permitted for upload. + +```json +["pdf,docx,txt"] +``` + +- Persistence: This environment variable is a `PersistentConfig` variable. + #### `RAG_RERANKING_MODEL` - Type: `str`