How do we find the right passage in thousands of documents?
Green Solution · Legal and finance client work
When are travel receipts due?
Within five working days of returning.
Check the source passage
Keep itemised receipts for work travel. Send your receipts within five working days of returning.
Looking up an answer
Our legal and finance clients worked with collections running to thousands of documents. A useful answer depended on finding the passage that actually dealt with the question.
Building the search
We built software that retrieves relevant passages and gives them to a language model as source material for an answer. That let us examine two parts of the system separately.
Checking the result
First we checked whether the search had found relevant material. Then we checked whether the answer accurately reflected that material. The sample in this case study shows the distinction.