Fix ai-service Dockerfile: bake in drug_entities.json, override its path

This commit is contained in:
2026-08-10 10:35:13 +07:00
parent a4b8e1c4db
commit 60b4397032
51 changed files with 4302 additions and 2087 deletions
+7
View File
@@ -40,6 +40,13 @@ class Settings(BaseSettings):
Path(__file__).resolve().parents[2]
/ "ingestion/data/verified/drug_entities.json"
)
# F-08: a per-turn budget across RagAgent's sequential Bedrock calls
# (understand, sufficiency, generate, up to 2 entailment retries).
# Defaults sized with headroom above what a normal turn measures live
# (~8-9s, 4-5 calls) — see rag/agent.py's MAX_WALL_CLOCK_MS/
# MAX_LLM_CALLS_PER_TURN for the full rationale.
max_wall_clock_ms: int = 20_000
max_llm_calls_per_turn: int = 8
@lru_cache