How Subport Finds the Right Answer in Your Knowledge Base
- Dec 6, 2026
- 4 min read

An AI support agent is only as good as what it can look up. If it can't find the paragraph in your returns policy that answers the question, it either guesses or says "let me connect you to a person". This post explains how Subport turns your documents into answers, and the settings you can tune when the defaults aren't right for your content.
What you can add
You can add knowledge as plain text, Markdown, JSON, HTML, PDF, Word (DOCX) or CSV files, or point Subport at a URL. Most teams start with their help center, a pricing page and whatever internal FAQ their support team already keeps.
Chunking: cutting documents into pieces
A whole PDF is too big to hand to the model for every question, so Subport cuts each document into chunks. By default a chunk is about 1,000 characters, split on sentence boundaries, with a target overlap of 100 characters between neighbors. The split carries whole sentences into the next chunk, so the real overlap varies with sentence length. The overlap helps keep an answer that sits across a boundary together, but it does not guarantee it: a very long sentence can still be cut. A CSV file is the exception: it uses paragraph splitting with no overlap, so check its chunks in the preview.
For structured documents, Preview chunks shows how a document would be cut with the current settings, so you can spot a table that would be split down the middle. Search reads the chunks that were stored when the document was processed: Preview document lists them in its Chunks section. A settings change reaches those stored chunks only when the document is processed again.
Search: three ways to look things up
An agent searches a knowledge base when you link the knowledge base in the agent's Knowledge section and switch on the Search knowledge base tool in its Tools section. The model then decides when to search, and each search returns the best chunks for its query. A new file or URL source is for staff only: in a customer's chat the search finds nothing in it until you set the source's Customer access to Available to customers in the knowledge base's Sources. You can pick one of three search types:
- Vector search matches by meaning, so "can I send it back?" finds your returns policy even though it never says "send it back".
- Keyword search matches the words of the question, which helps with product names, plan names and longer codes. It looks at each word separately and skips words shorter than three characters, so a short code like AB-12 finds nothing this way. It reads only the unaccented letters a to z and the digits, so a word in another script, such as 返品, finds nothing either, and it uses at most the first 16 different words of a question.
- Hybrid search, the default, runs both and combines the results.
Two more settings control how much comes back: a relevance threshold (0.4 by default) and a result limit (10 by default). The threshold is a minimum similarity in meaning, so it drops weak vector matches only. Keyword matches are not filtered by it, in keyword search or in hybrid search.
How hybrid search combines results
Vector and keyword search score results on completely different scales, so you can't simply add the scores. Subport uses Reciprocal Rank Fusion instead: each result earns 1 / (60 + its position in that list) from each list it appears in, and the totals decide the final order. A chunk that both searches found ranks above a chunk that only one search found at a similar position. A chunk that only one search found can still make the list.
A bug we fixed on the way
Before mid-November, hybrid search fused the raw scores rather than the ranks. That worked until a customer's question named their own company. The company name appears in nearly every document they own, so keyword search gave almost every chunk a top score. In one knowledge base, 119 of 138 chunks scored a perfect 1 for that question. Chunks that only matched the company name ranked above the paragraph that answered it, and that paragraph could drop out of the results.
Fusing by rank fixed it. The company name still matches nearly every chunk, but a perfect keyword score now counts only as a place in the keyword list, and the top place there counts the same as the top place in the vector search. A chunk that both searches found gets credit from each, which moves it up but does not guarantee it first place.
Getting good answers from your own content
A few habits make the biggest difference:
- Give each topic its own document or section, with a clear heading.
- Preview the chunks of long PDFs and spreadsheets before going live.
- Keep hybrid search unless you have a reason not to. It ranks the meaning matches and the keyword matches together and returns the best ones up to your result limit, and keyword search alone finds nothing when a question shares no word with your documents. Words count as shared after English stemming, so "returning" matches "returns", but "refund" does not match "money back".
If you want to see how your own help docs answer real questions, you can try Subport free and upload them in a couple of minutes.