check_corpus_quality
Detect damaged documents in a Knowledge Agent corpus and get a recommended fix for each, including garbled OCR, broken line breaks, split words, and near-duplicates.
Instructions
Find damaged documents in a Knowledge Agent's corpus, with a recommended fix for each.
Damaged text makes an agent miss topics its documents hold. The check flags text broken one word per line, garbled OCR, words split by stray spaces and near-duplicate documents. It returns a summary and the flagged documents only.
Args: agent_id: Knowledge Agent ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||