Skip to content
Service status

Type to search

Knowledge and sources · 2 min read

How Intric searches and why answers carry references

How Intric reads and searches your documents, and how to build an assistant whose answers can be checked.

How Intric searches and why answers carry references

Section titled “How Intric searches and why answers carry references”

How Intric reads a document, finds an answer and cites the source tells you which files to add and how to test your assistant.

Intric reads each page as a page: a heading stays above its table, a value stays under its column header, and a scanned page is read with OCR. Where a page carries a diagram, Intric describes what it shows and keeps the description in place.

It then summarizes each document, so it knows which file to open before anyone asks. That matters when an assistant has many files: searching all of them at once turns up weak matches from unrelated documents.

Finally it splits the document into short passages, each remembering the page it came from. Spreadsheets are the exception: Intric works with their rows, so it can calculate a figure rather than estimate it.

Intric blends several ways of looking, and chooses the balance for each question:

  • Keyword search for exact strings: a case number, a name, “Article 12”.
  • Semantic search for meaning: “risks of night shifts” also finds “health effects of irregular schedules”.
  • Reading a whole document, when it is short enough and the question needs the full picture.
  • Navigational reading: finding where chapter eight starts and reading forward page by page.

It doesn’t hand the model every document in full, because models given very large amounts of text overlook what is in the middle. A small amount of relevant text, widened when needed, gives more accurate answers. See How Intric searches your documents.

Every answer drawn from your documents shows which document, page and passage it came from. Users can open the source and check the answer before they act on it, instead of taking it on trust.

An answer after Knowledge search complete, with numbered references in the text
The 1 Source popup open over the answer, naming the PDF with an Open preview link
  • Upload originals. References point into the file you uploaded. The original PDF or Word file gives better references than an exported or converted version.
  • Keep knowledge focused. Attach what the assistant’s purpose needs. Unrelated files make it harder to pick the right one, and widen what users can reach.
  • Test both kinds of question. Ask one with an exact term, such as a section number, and one phrased in your own words. Check that both find the right passage.
  • Check the references while you test, and open them. An answer that sounds right but cites the wrong page needs fixing in the knowledge or the instructions.
  • Tell the assistant to cite. An instruction such as “always name the section the answer comes from” makes the source visible in the answer text too.

Test your knowledge

Question 1 of 3

Question 1 of 3

A user asks about 'Article 12' and needs exactly that article, not Article 21. Which kind of search makes that reliable?

A user asks about 'Article 12' and needs exactly that article, not Article 21. Which kind of search makes that reliable?