How it reads your documents
"Let it read our procedures" sounds like one feature. It is a chain of choices, and the quiet one, where the documents are cut, decides what the tool can find.
The scene
Jassim asks the company assistant where the rule is for releasing a supplier payment that was held. The answer quotes the travel policy, which shares the words payment and approval and says nothing about suppliers. Khalid asks whether the staff handbook has been copied into the model. Fatima says it has not. The handbook was cut into passages, each passage was turned into a list of numbers, and the passages whose numbers sit nearest the question are placed in front of the model for that one reply. Noora asks why the cutting should matter, if the tool is supposed to understand the handbook. Jassim has the procedure open: the rule is on the first page, and the exception for large amounts is on the fourth.
The idea
Not inside the model
This arrangement is : search first, then the model writes from what was found. The only predicts the next piece of text, and it has not learned the handbook. It sees only the , everything placed in front of it for this reply. would bake a behaviour in and leave nothing to point at. Here there is a passage to point at, and only if the right one was found.
Where the document is cut
is cutting each document into passages before they are stored. The search returns a passage, not the handbook. A rule on the first page and its exception on the fourth become two passages, and the exception is found only if its own passage is among the nearest. A heading cut off from its paragraph is a passage that says nothing.
It resembles a filing cabinet where each folder holds one page, and the clerk may bring only the closest folders. The comparison stops at the next page: a clerk who sees the exception continuing will turn it. This search returns a fixed handful of passages. The , how much text the model can hold at one time, contains the question and those passages, not the shelf.
A short policy can be placed in front of the model whole, and then there is no cut. A folder of procedures gathered over years will not fit. Cutting is a choice someone made about what does not fit.
Meaning, stored as numbers
An is a list of numbers computed from a passage and arranged so that similar meanings end up near each other. You cannot read the list. A question about a held supplier payment can sit near a passage on a stopped invoice, with no shared word, and far from a travel advance. That nearness is : finding by meaning rather than by the words used. The is the store built to answer, quickly, which stored lists are nearest to the list just computed for the question.
Nearest is not right. Another department's payment rule can sit nearer than yours. A search by meaning is also weak at invoice numbers, procedure codes and staff numbers, unless the code survived inside the passage. Keep a way to match a code as a code.
The model that writes is usually not the one that computed the numbers. Either can be the weak part, and a supplier should say which.
What to ask to be shown
Three things, on your documents, not a demonstration.
- A passage as it is stored, so you can see whether the exception still sits with the rule.
- The passages placed in front of the model for one real question.
- What happens when nothing is close. The sound behaviour is to say that it found nothing. A system that answers anyway will produce a , output that is fluent, well formed and false.
, tying the answer to the passages found, and a back to the page, help a person check. Neither makes the sentence true. Someone still opens the page.
Where this fits
Fine-tuning hides a document inside behaviour. Here the document stays a document, and the model writes from the pieces handed to it. The next lesson is what changes when you also let it act.