Fix ai-service Dockerfile: bake in drug_entities.json, override its path
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user