All Questions
Guardrails And Safety medium

An internal assistant searches company documents through a tool that authenticates with a service account that can read the entire shared drive. An intern asks about 'salary bands for my team' and receives content from an HR-restricted spreadsheet. What is the right fix?

  1. A Run retrieval with the user's delegated credentials or ACLs so the tool returns only documents that user could open.
  2. B Add a classifier that detects sensitive topics such as compensation and refuses those questions for every employee.
  3. C List in the system prompt which departments' documents each role may see, and have the model withhold the rest.
  4. D Remove the HR folders from the index entirely and keep the shared service account for every other document source.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions