THOR: Transformer Heuristics for On-Demand Retrieval