AI data for customer support: what to feed it and protect
An AI support agent runs on four kinds of data. Learn what each one is, how to check its quality and which privacy controls to set before the agent talks to customers.
Read articleAn AI agent answers from the text it extracts, not from how your PDF looks. Five things that break parsing, a prep checklist and a check to run after upload.
By the Askocto team · · 5 min read
Document parsing is the step that turns a file, such as a PDF or a Word document, into plain text an AI agent can search and quote. What you see on the page is not what the parser gets. Tables flatten, columns interleave, scanned pages return nothing. If the text is wrong at this step, every answer built on it is wrong too, and no model setting can repair that. Prepare your files with parsing in mind, and check the result.
In short: The agent answers from extracted text. Prefer text-based files, simple layouts and clear headings, avoid scans and tricky tables, and test with questions whose answers you can find on exact lines.
A parser reads a file and produces text, often with some structure: headings, paragraphs, lists. The text is then split into passages and indexed so the agent can find the ones that match a question. Two things matter for you:
Both can fail without any visible error. The upload says it worked, and the agent confidently quotes the wrong cell of a table.
A price list or a shipping matrix is a table to you. After parsing, it may read as one long line of numbers, with column headings far away from the values. Ask: if a person read only the extracted text, could they tell which number belongs to which row and column?
Brochures and newsletters often use two or three columns. A parser can read straight across the page, mixing lines from neighboring columns into nonsense.
Repeated text, such as a company name or "Page 4 of 12", can appear in the middle of sentences when a paragraph crosses a page break. The agent may even quote the footer.
A scan is an image. Without text recognition there is nothing to read, and with it there are often errors, especially in small print, stamps and handwriting.
Charts, screenshots and diagrams carry meaning that the text does not. If the policy sits in an infographic, the agent cannot answer from it.
After upload, test before you trust.
| Check | How | What failure looks like |
|---|---|---|
| Source status | Wait for Ready, not Training or Failed | A Failed file has no usable text |
| Size | Compare the character count with what you expect | A large file with a tiny count means a scan or an image |
| Exact lookup | Ask a question whose answer is a single known line | The agent answers vaguely or from another file |
| Table lookup | Ask for one cell, such as a price in a given row | The agent mixes rows or columns |
| Page-break sentence | Ask about a paragraph that crosses pages | A footer appears in the answer |
In Askocto, you add files (PDF, DOCX, TXT or CSV) under Build > Sources, and each source shows a status of Queued, Training, Ready or Failed and a character count. The Playground in the Test tab shows which source an answer came from, so you can see whether it quoted the file you meant. The data sources guide covers the source types.
Some content is better as something other than a file:
Structuring a knowledge base for AI explains how to organize content in general, and training an AI agent on your help center shows how to bring in content that already lives on the web.
After parsing, text is split into passages and turned into numeric representations so that similar meanings can be found, which vector embeddings explain. Search results can then be reordered for relevance, as reranking describes. Parsing sets the ceiling for all of it: a passage with a scrambled table cannot be rescued by better search. If you want to build the pipeline yourself, RAG from scratch walks through each stage.
Files go stale. Keep a list of uploaded files with an owner, a date and a review cycle. In Askocto, the source list shows each file's status, so note the date you last retrained next to it. When a policy changes, replace the file, retrain and rerun your exact-lookup questions. A source can be Ready and still wrong. The product overview shows where sources sit among the other parts of an agent.
It is the step that extracts text and structure from files such as PDFs and Word documents, so an AI system can search and use the content.
Often the extracted text is wrong: a flattened table, mixed columns, a repeated footer or a scanned page. Check what was extracted and prepare the file again.
Only through text recognition, which can make mistakes. Where possible, use the original digital file.
Text-based files with simple layouts, such as TXT, DOCX with real headings, or a PDF exported from the original, tend to work best.
Askocto answers the repeat questions across chat, email and voice and hands the hard ones to your team.
An AI support agent runs on four kinds of data. Learn what each one is, how to check its quality and which privacy controls to set before the agent talks to customers.
Read articleFast models are tempting for chat and voice, but speed is only worth it if answers stay right. A protocol to measure latency and quality together on your own conversations.
Read articleUsing a model API in support means planning for slow calls, errors and changes. A pre-flight checklist and a thin wrapper keep Kimi K2 or any provider swappable.
Read article