Skip to main content
Knowledge Quality scores each document on how well an AI agent can find and use it, lists what to fix, and lets you check quality rules per type of document (tutorial, FAQ, API reference…).

Quality Scoring

Score Range

Documents receive a quality score from 0 to 5:

How the Score Is Calculated

When a document has a document type, assigned directly or inherited from its source, its score is the share of that type’s rules it passes, multiplied by 5. Each rule has equal weight; a type with no rules produces a score of 0. Otherwise, the standard analysis adds up two groups of checks:

Standard Checks

These checks apply to documents without a document type.

Structural Checks (1.5 points)

AI-Evaluated Checks (3.5 points)

Document Types

Document types let you define your own quality rules for a category of documents. A document with a type is scored against that type’s rules instead of the standard checks.

Creating a Document Type

  1. Go to Knowledge > Advanced > Quality Document Types.
  2. Click Create Doc Type.
  3. Enter a name and description, then choose rules in the Built-in Rules tab (existing quality checks) and add your own in the Custom Rules tab (criteria evaluated by AI).
  4. Save the document type.
To start from a template, click Start from Template and pick one of the four Diataxis documentation types: Tutorial, How-to Guide, Reference or Explanation. The form is pre-filled with recommended rules that you can adjust before saving.

Assigning Document Types

  • To a source: go to Knowledge > Sources, edit the source, and select a document type under Quality Evaluation. Documents of that source without their own type use it.
  • To a document: open it from Knowledge > Documents and select its Document Type in the AI Best Practices panel. A document’s own type takes precedence over its source’s type.

Classifying Documents Automatically

Instead of assigning types one by one, AGO can classify the documents of a source:
  1. Go to Knowledge > Sources and select a source.
  2. Open the Document Quality tab.
  3. Click Classify Documents and choose Classify unassigned only or Re-classify all documents (the latter overwrites existing assignments).
Classification runs in the background. AGO assigns each document the best-matching type among your document types. When no type is a confident match, the source’s document type is used if it has one. You can still change the type of any document by hand. The Doc Type Coverage section of the same tab shows how many documents are classified, how documents are distributed across types, the average score per type, and which of your types have no documents in this source.

Analyzing Documents

A Single Document

  1. Go to Knowledge > Documents and open a document.
  2. In the AI Best Practices panel, click Run Quality Analysis (or Re-run Analysis if it was already analyzed).
  3. Click View Full Report for the score breakdown, issues and suggestions.

All Documents of a Source

  1. Go to Knowledge > Sources and select a source.
  2. Open the Document Quality tab and click Run Quality Analysis.
The analysis runs in the background and skips documents that already have a score or can’t be analyzed. To score a document again after changing its content or its rules, use Re-run Analysis on that document.

The Most Used Documents

Admins can analyze the documents agents use most as context in conversations:
  1. Go to Support > Dashboard > Knowledge and set the period and filters.
  2. Click Analyze quality on Top Documents Used as Agent Context and enter how many documents to analyze, from 1 to 500 (default: 10).
  3. Click Analyze quality to start the analysis in the background.
  4. Click View quality results to see the scores once the analysis finishes.
Documents are ranked by the number of conversations in which agents used them as context, with all dashboard filters applied, so the selection can go beyond the documents shown on the dashboard. Documents already analyzed or that can’t be analyzed are skipped and not replaced by lower-ranked ones.

Reviewing Results

Quality Overview

Knowledge > Advanced > Quality Overview shows the average score and number of analyzed documents for every source. Click a source to open its Document Quality tab, which shows the source’s average score, its score distribution (good, medium, poor), and its documents with their score, status and document type. Filter the documents by status, score, document type or failed rule.

Issues and Priority

The full report of a document lists its issues by priority (High, Medium, Low), each with a suggestion. For AI-evaluated checks, the priority depends on the share of points the document earned on that check: Structural checks have their own fixed priority. Failed document type rules are reported as Medium.

Documents That Can’t Be Analyzed

The standard analysis skips documents that are empty or have fewer than 20 words, and marks them as unanalyzable. They are left out of average scores. Documents with a document type are always evaluated against the type’s rules, even when empty or very short.

Improving Document Quality

  • Write a clear introduction: what the document covers, who it is for, and when to use it.
  • Use headings in order (H1, then H2, then H3) and make them descriptive.
  • Keep terminology consistent and define technical terms the first time you use them.
  • Add concrete examples with realistic values and expected results.
  • Add alt text to every image.
  • Split long documents (over 5,000 words), expand very short ones (under 100 words), and simplify large tables.

Grammar Fix

Grammar Fix finds spelling, grammar and punctuation errors in a document and suggests corrections as a change proposal.
  1. Open the document in the editor.
  2. Click Fix Grammar.
  3. If AGO finds issues, it creates a change proposal. Review it in Knowledge > Advanced > Change Proposals, where you can edit, accept or reject it.