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
@@ -99,6 +100,34 @@ Uploaded documents are required to contain the following metadata:
99
100
| chat_endpoint |[`rag_core_api.api_endpoints.chat.Chat`](./rag-core-api/src/rag_core_api/api_endpoints/chat.py)|[`rag_core_api.impl.api_endpoints.default_chat.DefaultChat`](./rag-core-api/src/rag_core_api/impl/api_endpoints/default_chat.py)| Implementation of the chat endpoint. Default implementation just calls the *traced_chat_graph*|
100
101
| ragas_llm |`langchain_core.language_models.chat_models.BaseChatModel`|`langchain_openai.ChatOpenAI` or `langchain_ollama.ChatOllama`| The LLM used for the ragas evaluation. |
101
102
103
+
### 1.4 Embedder retry behavior
104
+
105
+
The default STACKIT embedder implementation (`StackitEmbedder`) uses the shared retry decorator with exponential backoff from the core library.
- Each retry-related field in `StackitEmbedderSettings` is optional. When a field is provided (not None), it overrides the corresponding value from `RetryDecoratorSettings`.
114
+
- When a field is not provided (None), the embedder falls back to the value from `RetryDecoratorSettings`.
115
+
- Zero values (e.g., 0 or 0.0 where allowed) are honored and do not trigger fallback.
116
+
- The effective retry configuration is computed once per embedder instance at initialization.
117
+
118
+
Configuring via environment variables
119
+
120
+
- Embedder-specific (prefix `STACKIT_EMBEDDER_`):
121
+
-`STACKIT_EMBEDDER_MAX_RETRIES`
122
+
-`STACKIT_EMBEDDER_RETRY_BASE_DELAY`
123
+
-`STACKIT_EMBEDDER_RETRY_MAX_DELAY`
124
+
-`STACKIT_EMBEDDER_BACKOFF_FACTOR`
125
+
-`STACKIT_EMBEDDER_ATTEMPT_CAP`
126
+
-`STACKIT_EMBEDDER_JITTER_MIN`
127
+
-`STACKIT_EMBEDDER_JITTER_MAX`
128
+
- Global fallback (prefix `RETRY_DECORATOR_`): see section [4.2](#42-retry-decorator-exponential-backoff) for all keys and defaults.
129
+
- Helm chart: set the same keys under `backend.envs.stackitEmbedder` in [infrastructure/rag/values.yaml](../infrastructure/rag/values.yaml).
130
+
102
131
## 2. Admin API Lib
103
132
104
133
The Admin API Library contains all required components for file management capabilities for RAG systems, handling all document lifecycle operations. It also includes a default `dependency_container`, that is pre-configured and should fit most use-cases.
0 commit comments