All articles

AI Search for Your Firm's Files: Can You Trust It?

Photo: Free office file

Photo: Free office file, CC0 1.0. Cropped and resized.

Yes, AI can search your firm's own files and answer questions in plain English. But you should not trust an answer until you have tested the tool on your own documents. The best tools show the passage behind each answer, so a person can check it in seconds. Even then, careful research has found that tools built to answer from documents still get things wrong. This article explains how the technology works, what the evidence says about errors, and a simple test any small Hong Kong firm can run before relying on it.

What "AI search for your files" means

Most small firms keep their knowledge in shared drives, email folders and old matter files. Finding "the clause we used last time" means remembering who wrote it and where it went.

AI document search tries to fix that. You type a question, such as "What notice period did we agree with this landlord?" The tool looks through your files, picks the passages most likely to hold the answer, and writes a reply based on them. Technical people call this retrieval-augmented generation. The idea is that the tool answers from your documents, not from whatever it learned in training.

That is a real improvement on a general chatbot. The Stanford study discussed below found that tools which look things up first made fewer errors than a general-purpose model. But "fewer errors" is not "no errors".

What the evidence says about mistakes

In 2024 researchers at Stanford RegLab and Stanford HAI tested leading legal research tools from LexisNexis and Thomson Reuters. They used more than 200 open-ended legal questions. Two of the tools gave wrong or made-up content in more than 17 per cent of cases. A third did so in more than 34 per cent. The paper's own summary puts the range at between 17 and 33 per cent for the tools it covers. The authors found general-purpose models in earlier work had done far worse, at 58 to 82 per cent on legal questions.

The study found four kinds of failure:

  • Wrong answers. The reply misstated the law or got a fact wrong.
  • Wrong citations. The reply was right, but the source it pointed to did not back it up.
  • Missed documents. The tool failed to find the right source, or found one that did not apply.
  • Going along with a false premise. One system accepted a false claim built into the question.

The authors' conclusion was blunt: "legal hallucinations have not been solved". Their advice was to check the claims and the citations the tools produce.

Two cautions apply. These were legal research tools searching case law, not a firm's private files. And the study dates from 2024, so products have changed. The lesson that carries over is the pattern of failure. A tool can sound sure and still point at the wrong paragraph.

Why a citation is the feature that matters

A reply with no source is a claim you cannot check. A reply that shows the exact passage, in the exact file, lets a person confirm it in seconds. That is the difference between a tool that saves time and one that creates a second job.

But a citation is only useful if you open it. The Stanford authors noted that some answers described the law correctly yet cited sources that did not support them. So the rule for staff is simple: no answer leaves the firm until someone has read the cited passage.

The Journal of Accountancy, published by the AICPA in the United States, gives the same advice for finance professionals. Keep a human in the loop, because AI can sound confident while being wrong, and treat it as an assistant, not a substitute for your judgment. It also reminds readers that they remain responsible for the final work, whichever tool produced it.

Extra checks for Hong Kong firms

Some points are particular to Hong Kong:

  • Two languages. Many files mix English and Chinese. A contract may be in English with a Chinese schedule, or a client email may switch language halfway. Test the tool on both. A tool that works well in English can miss the Chinese text.
  • Client confidentiality. Files you search may hold personal data. Ada Chung, the Privacy Commissioner for Personal Data, wrote in the HKICPA's A Plus magazine that AI systems holding large stores of personal and confidential data are attractive targets for criminals.
  • A written policy. The Privacy Commissioner's office issued a checklist in 2025 on staff use of generative AI. It was prompted by findings that fewer than 30 per cent of Hong Kong organisations had such a policy. It asks firms to state which tools are allowed, what data may be entered, how outputs are used and kept, and what happens if the rules are broken.
  • Access. AI search should not show a junior a file they could not open before. Check that the tool respects who may see what.

This is general information, not legal advice.

A simple test before you trust it

You do not need a technical team. You need an afternoon and a folder of real documents.

  1. Pick a small set. Choose 30 to 50 documents you know well, in both languages if you use both. Where possible, use non-sensitive or old files first. The Journal of Accountancy suggests testing on non-sensitive data before relying on a tool.
  2. Write 20 questions. Make them the kind your staff really ask. Include a few where the answer is in a table or a scanned page.
  3. Know the answers first. Write them down before you ask the tool.
  4. Add traps. Ask something whose answer is not in the files. A good tool says so. A weak one invents a reply. Also ask one question with a wrong assumption built in, as the Stanford team did.
  5. Open every citation. Mark each answer as right, wrong, or right with a bad source.
  6. Count. If one answer in five needs correcting, you have learned how much checking the tool needs. That is useful whatever the number.

Repeat the test every few months, since tools change.

What to do this week

  • List where your knowledge lives. Shared drive, email, practice software, personal folders. A search tool is only as good as the files it can reach.
  • Tidy the obvious mess. Duplicate drafts and files named "final_v3_new" confuse people and software alike.
  • Run the test above on one tool. Keep the scoring sheet, so you can compare tools later.
  • Write a one-page rule. Cover approved tools, what may be entered, and who checks answers before they reach a client.
  • Tell clients when it matters. If AI shaped advice you give, say so plainly.

If you want a tool built around this approach, Midas is an AI workspace made by h.work in Hong Kong. It connects to the files and tools a firm already uses, answers from them, and shows the documents each answer came from. It works with documents in English and Chinese, and keeps each firm's data separate. You can start free and run the test above on your own files.

Share

Midas

Answers from everything your team knows.

Ask a question in plain English and get an answer drawn from your firm’s files.