AI

Knowledge Documents

Give your AI assistants the facts they answer from - write documents in Wexio or upload files, then choose which assistants use them

The Knowledge library is where the facts your AI assistants answer from live. You add each document once, then choose which assistants use it. Open it from Library → Documents.

A document is either written here, in Wexio, or an uploaded file. Both are split into passages and searched by meaning, so an assistant finds the right part of a long document instead of reading all of it.

How It Works

  1. Add a document: write one or upload files.
  2. Publish it. Wexio splits the published text into passages and turns each into a vector with OpenAI's text-embedding-3-large.
  3. You attach the document to the assistants that should use it.
  4. When an assistant receives a message, the question is embedded the same way and matched against those passages by meaning, not keywords.
  5. Matching content is included as context for generating the reply.

Assistants read only the published version. A draft you are still working on never reaches an answer.

Search Works Across Languages

Because questions and passages are embedded with the same model, the match is cross-lingual: a question in Ukrainian can retrieve a passage written in English, as long as they mean the same thing.

You do not need to translate your documents into every language you support. Write them once, in whichever language is clearest. To control the language of the answer, use the assistant's language setting.

The Library

The library lists every document in your organisation.

ColumnWhat it shows
DocumentThe title.
TypeWritten here or Uploaded file.
StatusWhether the document is searchable yet. See Status.
EnabledA switch. When off, no assistant answers from the document.
AudienceWho the AI may use it for. See Who the AI shares it with.
AssistantsWhich assistants use it.
UpdatedWhen it last changed.

Search by title, or filter by status and by type. The row menu has Open, Reindex and Delete. A document that has changes you have not published shows Unpublished changes under its title.

Deleting a document removes it from the library and from every assistant that uses it.

The Knowledge library list with seven documents, written and uploaded, with status, enabled switch and assistants, and the row menu open showing Open, Reindex and Delete

Write a Document

Click New document. Give it a title and, optionally, a description, then write the text. A written document is Markdown: headings, lists, tables, bold, italic, code and links. Type / for headings, lists, tables and conditions, or {{ for variables.

  • Up to 100,000 characters of text.
  • Variables and conditions let one document say different things to different visitors. See Writing a document.
  • Save draft keeps your work private. Click Publish when the assistants should start using it. See Drafts, Publishing and Versions.
A written FAQ document in the editor with a variable and a condition in the text, and the Details panel with Status, Sharing and Assistants

Upload Files

Click Upload files, then drag files in or browse for them.

The Upload files dialog with two files added, shipping-rates.pdf and ingredients.docx, over the Knowledge library
FormatExtensions
PDF.pdf
Word.docx, .doc
Excel.xlsx
Markdown.md, .mdx, .markdown
Text and data.txt, .csv, .tsv, .json, .yaml, .yml, .xml
  • Up to 10 MB per file and 20 files at a time. A file that is the wrong type, too big or over the count is skipped, with the reason next to its name.
  • Each file becomes its own document. When you upload a single file, its document opens straight away.
  • There is no OCR. A PDF that is only scanned images has no text to read, so its document ends as No text found. Export the text from the source, or paste it into a written document.
  • Very large Word or Excel files are refused for safety. A file that unpacks to more than 25 MB in one part, 50 MB in total, or 5,000 parts is rejected.

Reading the Result

Open an uploaded document and Wexio shows the text it extracted under Content, so you can check that the file was read properly. You can edit that text. Use Reindex to read the file again, and Replace file to swap in a new one.

Replace file puts the new file's text in the draft, marked New file, not published. The assistants keep answering from the old version until you publish. If you had edited the text, Wexio asks Replace the file? first, because the new text replaces your edits in the draft.

An uploaded PDF named returns.pdf with its extracted text shown read-only, and the File section showing Ready and 15 indexed parts

Status

StatusWhat it means
DraftThe document has never been published. It cannot be searched yet. Click Publish to start using it.
IndexingWexio is reading the document. It cannot be searched yet.
ReadyThe assistant can use it.
No text foundThe file has no readable text, for example a scanned PDF.
FailedThe file could not be read or indexed. Try Reindex, or upload it again.
Waiting for planYour plan does not include AI replies, so the document is saved but not indexed. It is indexed automatically when you move to a paid plan.

Indexing can take a few minutes for a large document. On the Free plan you can add and organise documents. They wait as Waiting for plan and start indexing when you upgrade, so you do not upload them again.

A failed upload of a scanned PDF, with the Failed status, the message that no text was found and the Reindex button

Import From Your Website

Enter your website and Wexio reads the public pages, picks the ones that make good documents (services, prices, FAQ, about, team and similar) and turns them into knowledge documents with AI-written titles. It is a one-time import from one website.

  1. In the library, click Import from website. The button shows only until your organisation has imported once.
  2. Check Website address (it starts as your organisation's website) and click Find pages. Reading the site usually takes 1 to 3 minutes. You can keep the window open or come back later.
  3. Under Choose the pages to import, tick the pages you want. Each page shows a category such as Pricing, Service, Team, About or FAQ, and a note such as Recommended or Core page. Open page shows the original.
  4. Under AI assistants, choose which assistants get the documents. Leave it empty to use your default assistant. You can change this later in each assistant's knowledge settings.
  5. Click Import # documents. The report lists what was created and what needs attention.

The list expires after 24 hours. If it does, the page says This list is out of date: click Search again. Only one website import can run at a time.

The Import from website window listing pages to import with categories and 3 of 4 selected

Automatic Import for New Workspaces

When you create a workspace with a website, Wexio imports the recommended pages for you and connects them to the workspace AI. You do not pick pages. If the site cannot be read, for example it needs JavaScript to show text, blocks readers or is unreachable, nothing is imported and you see no message. Use Import from website in the library then.

The automatic import runs once, when the workspace is created. It does not run when you change the website later. Wexio runs it once per website every 24 hours, so a second workspace with the same website is not imported automatically.

Add a Single Page

To add one more page, click Add from website, paste the Page address and click Add page. The page must be on the same website as your first import, otherwise you see This page is not on {host}. Pages must come from {host}. The text becomes a document that stays linked to the page.

Keep a Document Up to Date

A document from a website has a From a website panel. It shows the Source page, Last updated and Last checked.

  • Refresh from website checks the page now.
  • Update automatically checks the page once a day and publishes a new version when it changed. It is off by default and not available on the Free plan: Automatic updates are not available on your plan. Upgrade to turn them on.
  • If you edit the document by hand, auto-update switches off: Auto-update was switched off because you edited this document. Turning it on again replaces your edits with the website version within about an hour.
  • Update history lists each check, with Manual refresh or Daily check as the trigger.

A check on an unchanged page costs nothing. A changed page is published as a new version and costs 1 operation. See Ops & Usage.

A website document with the From a website panel showing Refresh from website and the Update automatically toggle

When a Website Cannot Be Read

MessageWhat it means
This website builds its pages in the browser, so we can't read its text. Upload the content as documents instead.The site loads its content with JavaScript.
This website doesn't allow automatic import.The site blocks automated access.
The limit of website documents is reached.Your organisation has the most website documents it can hold.
Daily limit reached. Try again tomorrow.You started too many website searches today.

The import and refresh operations are also in the API with the CONTENT_READ and CONTENT_MANAGE scopes. See Content.

Drafts, Publishing and Versions

Changes to a document's title, description and text go through a draft. The published version is what the assistants read, so you can rewrite a document without the assistants seeing half-finished work.

ActionWhat it does
Save draftKeeps your changes as a draft. The assistants still answer from the published version.
PublishMakes the draft the live version and indexes it. The document shows Indexing, then Ready. If you have unsaved changes, Publish saves them first.
Discard draftIn the editor's menu. Throws away the draft and keeps the published version. Wexio asks Discard this draft? first.

A chip in the editor header shows where the document stands: Draft (never published), Unpublished changes, or Published v3. A new document starts as a draft until you publish it.

In use, Sharing and Assistants in the Details panel are not part of a version. They apply as soon as you change them.

If someone published a newer version after you started your draft, the editor says Based on v2; v3 was published since. Publish then asks Publish anyway?, because your draft would replace the newer version. If the draft changed under you, you see The draft changed, review and publish again.

Version History

Click History in the editor header to open Version history in a sidebar on the right. Every publish adds a version, with its number, who published it (or API key), when, and how it came about: Created, Edited, File replaced, Restored from v2, API or Imported. The live one is marked Live. Click a version to see its details and text, and Back to versions to return to the list. Wexio keeps the last 50 versions of a document.

To go back, open a version and click Restore this version. Wexio asks Restore this version? and puts that version in the draft. Nothing changes for the assistants until you publish. The editor shows Restored from v2, not published yet with two choices: Publish as v5, or Discard and go back to v4.

Edit the Text of an Uploaded File

The text of an uploaded file is plain text, up to 100,000 characters, with no formatting. Correct a wrong figure or remove a passage you do not want the assistants to use, then Save draft and Publish.

  • Empty the text and the assistants read nothing from the document. Wexio asks Save an empty text? first.
  • Revert to original text reads the file again and brings back its text. Wexio asks Revert to the original text?, because your edits are lost. Publish waits until the file has been read.
  • When the text is locked, the editor says why: the text is longer than 100,000 characters, the new file is still being read, no text could be read from the file, or Text is not available for editing yet. Reindex or replace the file to make it editable.

Only Owners, Admins and Editors see drafts and the version history. Other members see the published document.

Title and Description

Every document has a title (up to 200 characters) and a one-line description (up to 300) that says what the document covers and when to use it.

When you create a document, Wexio writes both with AI. You can edit them.

If you clear a field, Generate writes it again, up to 5 times a day for one document. Your organisation can have at most 100 titles and descriptions written a day.

A new document whose description is still being written by AI, marked auto, with the Indexing status in the Details panel

Who the AI Shares It With

Each document, help article and news post can be limited to an audience - who the AI is allowed to use it for. In a document it is the Sharing setting in the Details panel.

AudienceThe AI uses it for
EveryoneAny visitor. The default.
Signed-in visitorsOnly visitors who have authenticated.
A field valueOnly visitors whose contact field is one of the values you list - plan is Pro or Enterprise, say.

Audiences are set per locale variant, so a translated article can have its own.

This limits what the AI says, not what the widget shows. A help article stays publicly readable in the widget regardless of its audience - the setting only stops the assistant from drawing on it when answering someone outside that audience.

If a document must not be readable at all, do not publish it as an article.

The assistant knows whether a visitor is signed in and what their plan is, but it never states that back to them. It answers differently and does not announce why.

Attaching Documents to Assistants

A document does nothing until an assistant uses it. You can connect them in two ways:

  • From the document. In its Details panel, choose the assistants under Assistants. The same panel has the In use switch, which is the Enabled switch of the list. This is saved with the document.
  • From the assistant. Open the assistant, go to Knowledge Base and find Knowledge documents.
    • To attach existing documents, click Add from library, tick the documents (search by title if the list is long) and click Attach.
    • To add a new one, click Add, then choose New document or Upload files. The document is created and attached in one step.
    • Detach on a row removes the link without deleting the document.

A document that is switched off shows Off next to it in the assistant's list, and the section tells you how many attached documents are still being indexed.

The Knowledge documents section of an assistant with three attached documents marked Ready, and the Add from library and Add buttons

Answer From Help Articles and News

Under Knowledge Base on an assistant, Answer sources has two switches: Answer from Help articles and Answer from News posts. Turn them on to let the assistant also draw on your published articles and posts, in addition to the attached documents.

Sources Under AI Answers

An AI reply can list the sources it used. The two audiences see different lists:

  • Your team sees a Sources pill under the reply in the inbox. It lists every source, and marks a knowledge document as Internal: hover it to read The customer did not see this source.
  • Visitors in the web widget see only public sources: help articles, news posts and web links. Your knowledge documents, written or uploaded, are never shown to them as sources, and the assistant does not name them in its text.

Use this when a document holds internal policy. The assistant still answers from it, and the visitor sees the answer without the document behind it.

Your Existing Knowledge

If you had a knowledge base before, it was moved into documents automatically. You do not need to upload anything again.

Each knowledge file on an assistant became an Uploaded file document in the library. If you delete that document, the assistant's old knowledge file is cleared too, so it does not come back the next time you save the assistant.

A migrated document that had never been indexed shows an empty preview until you click Reindex.

Messages You May See

The editor shows most of these next to the problem. The API and MCP return the same text.

MessageWhat to do
Knowledge documents can use only variables and if/else conditions. Remove this directive or block.Remove the tag it points to. Documents cannot run actions. See Writing a Document.
The document text has template errors. Fix the highlighted variables or conditions.Fix the variable or condition that is underlined.
The document text is too long (maximum 100000 characters).Split it into several documents.
A title is required.Add a title.
This file type is not supported.Upload one of the formats above.
Too many files in one request.Upload fewer files at once.
The text of this document cannot be edited right now.The file is still being read, has no readable text, or is too long. See Edit the Text of an Uploaded File.
The text is too long (maximum 100000 characters).Shorten the text, or split it into several documents.
The draft text is still being prepared. Try again in a moment.Wait for the new file to be read, then publish.
This document was changed by someone else. Reload and try again.Reload the document and review the draft before you publish.
There is no draft to publish or discard.Save a change first.
That version of the document was not found.Pick another version in the history.
Too many generation requests today. Try again tomorrow.Write the title or description yourself. See Title and Description.

Who Can Manage Documents

Owners, Admins and Editors can add, edit, publish, restore, attach and delete documents.

Answer Quality

Answers are drawn from your knowledge and your assistant's business instructions rather than the model's general training, and are checked before they are sent.

GroundedEvery answer comes from your organisation's knowledge and instructions, with internal citations back to the source.
CheckedNumbers, prices, dates and links in a reply are verified against those sources before sending.
Honest when it cannot answerIf a claim is not supported, the assistant says it could not find an exact answer and lists the closest topics instead.
Hands over only when it canIt offers a human only when one is actually available.
Shows its sumsWhen a question needs a total, a difference, an average or a count that your documents do not state, the assistant calculates it from figures the documents do state, shows the calculation and says it is calculated. It never uses a figure that is not in your documents.
Follows the conversationA short follow-up is read against what you were talking about. Picking one of the options the assistant offered, asking and the 10th? or correcting the previous answer all work.

A reply of "I could not find an exact answer" is not a failure. It is the assistant declining to invent one. The fix is usually a gap in your documents, not the model.

Best Practices

  • Cover the questions people really ask - product details, FAQs, policies, prices.
  • Keep documents current. Edit the document and publish it, or Replace file on an uploaded one, rather than adding a second document beside the old one. The version history lets you go back.
  • Prefer focused documents. Several short documents that each cover one topic search better than one massive file, and let you attach the right ones to the right assistant.
  • Write the description for a reader who has never seen the document. It is what tells you, and the assistant's search, when the document applies.
  • Use audiences for anything not meant for everyone. A pricing tier, an internal policy, a members-only offer.

Was this page helpful?

On this page