Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01G8ikz8xdWuTP5yun8DZ1hk
9 lines
464 B
Plaintext
9 lines
464 B
Plaintext
# Same question, two tenants
|
|
|
|
shop-a asks "How do I reset my account password?" -> model call (calls so far: 1)
|
|
shop-b asks the identical question -> model call, no hit (model calls so far: 2)
|
|
shop-a asks again -> cache hit
|
|
entries in the index: 2 (one per tenant)
|
|
The filter is a tag on the document and an expression on the search: tenant == 'shop-b'.
|
|
nearest(shop-a, q) without asking as shop-b still finds: "How do I reset my account password?"
|