Serving Models and Agents
Scope the cached response
Another team asks the same question
An answer cached for one team reaches another because the wording matched.
BOTIE
The inputs we are comparing
Cached question
Same in both cases
why?
Current question
Same in both cases
why?
Cached context record
Same in both cases
- tenant
- A
- evidence
- v1
Current context record
Same context
- tenant
- A
- evidence
- v1
Other team
- tenant
- B
- evidence
- v1
Result for same context
true
The context matches but the question changes
This check uses the pieces from “Include the context in reuse”.
BOTIE
- Cached question
why?
- Current question
when?
- Cached context record
- tenant
- A
- evidence
- v2
- Current context record
- tenant
- A
- evidence
- v2
Use a number, text, or an array matching the requested result. A named result uses field names, such as {"count": 2}. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.
Build a construction in the workspace above first. This case will test those pieces.
What should a permission revocation do to already cached answers?
Recheck current authority and expire or invalidate affected entries.
This is a reuse-key check. Permissions, expiry and sensitive response storage require separate enforcement.