diff --git a/services/comms/atlasbot-deployment.yaml b/services/comms/atlasbot-deployment.yaml index ef6b88b..e8e22a3 100644 --- a/services/comms/atlasbot-deployment.yaml +++ b/services/comms/atlasbot-deployment.yaml @@ -16,7 +16,7 @@ spec: labels: app: atlasbot annotations: - checksum/atlasbot-configmap: manual-atlasbot-61 + checksum/atlasbot-configmap: manual-atlasbot-62 vault.hashicorp.com/agent-inject: "true" vault.hashicorp.com/role: "comms" vault.hashicorp.com/agent-inject-secret-turn-secret: "kv/data/atlas/comms/turn-shared-secret" diff --git a/services/comms/scripts/atlasbot/bot.py b/services/comms/scripts/atlasbot/bot.py index 9434e91..f9e6b81 100644 --- a/services/comms/scripts/atlasbot/bot.py +++ b/services/comms/scripts/atlasbot/bot.py @@ -1701,6 +1701,8 @@ def _select_insight( prefer_keys.extend(["hardware", "availability"]) if any(word in q for word in ("coolest", "favorite", "favourite", "trivia", "fun")): prefer_keys.extend(["hardware", "cpu", "ram"]) + if "interesting" in q and "most interesting" not in q: + prefer_keys.extend(["hardware", "postgres", "cpu", "ram"]) avoid_used = any(word in q for word in ("another", "else", "different", "other")) or "most interesting" in q if any(word in q for word in ("another", "else", "different", "other")) and len(candidates) > 1: for candidate in candidates: