From b77ccaa3e8db4c331045d29046297cb4f2c709cf Mon Sep 17 00:00:00 2001 From: mblye Date: Mon, 14 Oct 2024 18:21:49 -0400 Subject: [PATCH] Fixing issue w/ Azure embeddings --- config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config.py b/config.py index 022113a..9f51882 100644 --- a/config.py +++ b/config.py @@ -176,6 +176,7 @@ async def dispatch(self, request, call_next): OLLAMA_BASE_URL = get_env_variable("OLLAMA_BASE_URL", "http://ollama:11434") AWS_ACCESS_KEY_ID = get_env_variable("AWS_ACCESS_KEY_ID", "") AWS_SECRET_ACCESS_KEY = get_env_variable("AWS_SECRET_ACCESS_KEY", "") +RAG_AZURE_CHUNK_SIZE = int(get_env_variable("RAG_AZURE_CHUNK_SIZE", "1")) ## Embeddings