Spaces:
Running
Running
deploy: rename Dockerfile.hf -> Dockerfile on the Space side
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -189,6 +189,12 @@ ENV SAR_FAITHFULNESS_GATE_ENABLED=false
|
|
| 189 |
ENV SAR_FAITHFULNESS_GATE_MODE=flag
|
| 190 |
ENV SAR_FAITHFULNESS_THRESHOLD=0.7
|
| 191 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
# Cloud LLM is the only inference path on the HF Space (no Ollama). Unlock
|
| 193 |
# HIGH-sensitivity content for cloud synthesis -- the frontend warns the
|
| 194 |
# visitor with a "sensitive: routed to cloud" badge.
|
|
|
|
| 189 |
ENV SAR_FAITHFULNESS_GATE_MODE=flag
|
| 190 |
ENV SAR_FAITHFULNESS_THRESHOLD=0.7
|
| 191 |
|
| 192 |
+
# The security node's LLM semantic injection check false-positives on
|
| 193 |
+
# non-English (Arabic) queries and blocks retrieval. Disable it for the demo:
|
| 194 |
+
# the guardrails node (regex) + the security node's regex jailbreak patterns
|
| 195 |
+
# still run, so injection defence stays while multilingual questions work.
|
| 196 |
+
ENV SAR_SECURITY_SEMANTIC_CHECK_ENABLED=false
|
| 197 |
+
|
| 198 |
# Cloud LLM is the only inference path on the HF Space (no Ollama). Unlock
|
| 199 |
# HIGH-sensitivity content for cloud synthesis -- the frontend warns the
|
| 200 |
# visitor with a "sensitive: routed to cloud" badge.
|