Sample · RAG

Sample: an internal assistant over a controlled policy library

This sample is an internal assistant for a company whose policies exist but cannot be found. It answers from a defined library, cites the passage, and refuses when the passage is missing. It is not a deployment we are attributing to a customer.

Sample solution. This describes a concept we use to show the shape of a build. It is not a client engagement and it is not a result from a completed customer project.

The corpus

HR and operations policies that have an owner and a current version. Not the entire shared drive. Each document has a department permission copied from the source. If the source cannot say who may read a file, that file stays out.

The behaviour

A staff member asks in the language they work in. The assistant shows the clause and the document title. If retrieval is weak, it says so and points to the policy owner. It does not invent a rule that sounds like the company.

The pilot

Thirty real questions collected from team leads, a two-week pilot with one department, and a list of the answers that were wrong. The second release fixes the corpus. It does not add a second department until the first list is short.

An assistant over procedures you control

The sample does

  • Search only the collections you would name
  • Show the document
  • Refuse when it is not there

A real company must add

  • The actual permission model
  • A process for retired policies
  • People who will correct a bad answer

The point of this sample

01

Citations

An answer without a file is not finished.

02

Access

A shared brain that ignores roles is a leak.

03

Care

Someone has to own the corpus after launch. The sample says that plainly.

If this shape fits your procedures

  1. 01

    The corpus

    The collections you would allow.

  2. 02

    A citation

    A file an answer must open.

  3. 03

    A refusal

    A question with no source.

  4. 04

    The owner

    Who retires a policy and checks a bad answer.

Marks this assistant sample cites its files

  1. 01

    It is a sample

    No company archive and no accuracy percentage are claimed.

  2. 02

    A file is cited

    The lesson is an answer that points at a passage.

  3. 03

    Access follows the files

    The assistant cannot show a document the person cannot open.

  4. 04

    Unsure stays unsure

    Missing material is “not in the files”, not a guess.