Skip to main content

Knowledge

The knowledge library holds the tenant's searchable knowledge sources: policies, product information, scripts, FAQs, or any text an agent may need to look up during a call. Knowledge sources are used by the built-in retrieval tools; they are not pasted into the prompt and they do not consume prompt space.

Open Knowledge and choose New knowledge source.

Knowledge source settings​

SettingWhat it does
NameThe name callers or operators would recognize. Search knowledge source resolves a knowledge source by name, so two knowledge sources with the same name make that tool ambiguous.
FileThe content to upload.
DescriptionOptional note about the knowledge source for other operators.
Chunk sizeThe approximate size of each searchable piece.
OverlapRepeats some text between adjacent pieces so a sentence that crosses a boundary is still found. Must be smaller than the chunk size.
Max chunksCaps how many pieces are stored from one knowledge source.

Upload a PDF, text, JSON, CSV, XML, YAML, or Markdown file up to 25 MB. PDFs must contain a text layer; a scanned image without text cannot be extracted.

Larger chunks preserve more context but reduce precision; smaller chunks retrieve more precisely but may split an explanation. Start with the defaults and change them only when retrieval misses information or returns fragments that are too narrow.

Knowledge sources can be replaced only by uploading a new version and deleting the old one; editing the binary in place is not part of the workflow. Keep the name stable when the content changes so that prompts or tool assignments that refer to the name continue to make sense. Deleting a knowledge source removes its searchable content as well as the record. If a retrieval tool is restricted to specific knowledge sources, removing one from the library also removes it from the allowed set.

Retrieval​

Retrieval is semantic. Search supports knowledge sources in multiple languages, so the library is not restricted to English. The tool returns the excerpts that are most relevant to the caller's question, with the knowledge source name and a relevance score, rather than a full source. This keeps responses fast and keeps the model focused, but it means the answer is only as good as the knowledge source's structure. Write knowledge sources with clear headings, short paragraphs, and explicit answers to the questions callers actually ask. A policy with one long paragraph is harder to retrieve from than the same policy split into labeled sections.

Restrict retrieval when an agent should see only part of the library. On the agent, the knowledge retrieval settings let you choose specific knowledge sources for Search knowledge or Search knowledge source. Leaving the selection empty searches every ready knowledge source in the tenant. Use restrictions when different agents serve different audiences and should not reveal each other's material.