Skip to main content
Home > “Admin Menu” > “Knowledge Bases”
With VARIOS AI, you can create powerful vector databases based on the Retrieval-Augmented Generation (RAG) approach – we call them knowledge bases. Documents are ingested through various data sources (e.g. manual upload, API upload, GitHub, WebDAV, VARIOS AI server folder, website), stored as embeddings, and made available via semantic search. Knowledge bases can be assigned to one or more assistants. Benefits:
  • Semantic search: Instead of simple keyword matching, the system searches for semantically similar content using vectorization.
  • Up-to-date knowledge: New or changed documents can be synchronized automatically or manually depending on the source type.
  • Use in assistants: Enable knowledge bases for assistants to incorporate company-specific knowledge into responses (see Global Assistants).

Knowledge Base Overview

On the Knowledge Bases page, you can see all created knowledge bases in a table: Actions per row:
  • Edit (pencil icon): Open the knowledge base, manage name/description and sources.
  • Delete (trash icon): Remove the knowledge base including all sources and documents.
You can filter by name using the search field. The list is paginated (“Previous” / “Next”).
When deleting a knowledge base, all associated sources and documents are permanently removed. Consider removing the knowledge base from all assistants first.

Create and Edit a Knowledge Base

1

Create a new knowledge base

Click New Knowledge Base. You will be redirected to the editing view.
2

Set name and description

Enter a name and optionally a description (e.g. purpose and content). Click Save to create the knowledge base.
3

Set data protection (DLP)

The Data protection (DLP) switch defaults to Pseudonymized: search results of the knowledge base are checked and pseudonymized before they reach the language model whenever the DLP check is active in the chat. Choose Unchecked only for content without personal data, for example public product documentation: results then reach the model unchecked, and every bypass is logged.
A knowledge base set to Unchecked bypasses the DLP check of its results. Review the setting whenever you add new sources.
4

Select AI Model for Generating Embeddings

Select which embedding model should be used in the knowledge base to generate embeddings. If you change the model of a knowledge base that already has documents, VARIOS AI asks before saving: all documents are processed again with the new model, and until then the search does not find all content.
5

Add data sources

Only after saving can you create sources under Create new Source. Pick the source type from the list and click Create source (see Add a source).
6

Assign knowledge base to an assistant

Enable the knowledge base for one or more Global Assistants. Permissions controlling which users can access which knowledge base are managed via the assistants.

References

The References tab in the editing view lists under Global assistants all global assistants that use the knowledge base. Clicking an entry opens the assistant. Personal assistants are not listed individually; their number appears below the list, for example “3 personal assistants”. While you edit a source, the tabs are hidden.

Data Sources and Source Types

A knowledge base can have multiple sources. Each source has a source type that is set when creating it and cannot be changed afterwards.
Source type is permanent: The type of a source (e.g. GitHub, WebDAV) cannot be changed after creation. For a different type, you must create a new source and optionally delete the old one.

Available Source Types

Add a source

The Create new Source box lists the source types with a short description, grouped into Provide files (Manual Upload, API Upload) and Connect and read in (website, GitHub, WebDAV, Dropbox, VARIOS AI server folder). A limited type that already exists shows Already added, and Open leads to the existing source. The Name of the source is optional; without one, VARIOS AI suggests a name, for example “Website your-domain.de”.
  • Manual Upload and API Upload are saved and opened right away with Create source. For an API Upload, VARIOS AI creates the bearer token.
  • Every other type opens a dialog with three steps. The source is saved only at the end, with one click:
1

Connection

The access data of the type, for example start URL, repository and token, or WebDAV user and password. Test connection checks them without saving and shows the result in the dialog. For Dropbox you link the app in this step, see Dropbox.
2

Scope

What is read in, for example path, folder depth, file extensions or the maximum file size in MB. The defaults are shown as placeholders; an empty field takes the default. Rarely needed settings are folded under Advanced.
3

Schedule

Name, Interval (manual, every hour, every day, every week or every month; new sources are set to Manual) and Read in right after saving (preselected). Save and read in creates the source and queues its first run.
Each step checks its required fields before it moves on. If the server refuses a value when saving, the dialog returns to that step and shows the message at the field.

Edit a source

The pencil icon of a source opens its editing view. At the top is the same status as on the card, followed by these sections:
  • General: source type (fixed) and name.
  • Connection: the access data can be changed in place; Test connection checks the changed values against the stored source. Dropbox shows Link again here, API Upload the endpoint and token with Create new token.
  • Scope: the same settings as in the dialog.
  • Synchronization: Interval, the next planned run and Synchronize now. The next run only moves when you change the interval.
  • Documents: the documents of the source, see Document status.
Save applies all changes at once. If you changed the connection or the scope, VARIOS AI asks whether to read the source in again now; otherwise the new settings apply from the next run. Leaving the view with unsaved changes asks first.

Sources in the overview

Each source appears as a card with two columns:
  • Configuration: the status in words, for example “Not read in yet”, “Queued, starts shortly”, “Reading in”, “Connection fine” or “Error:” with the message of the last failed run. Below are the interval, the last and next run and the result of the last run (pages for websites, otherwise documents, new and removed). Manual Upload and API Upload show “Ready for uploads” and “Endpoint ready”.
  • Files: “Processing · x of y”, “x of y documents with errors”, “Paused by a rate limit, continues at …”, “No documents yet” or “Done”.
After a failed synchronization the card offers Repair connection, for failed documents Show errors. Both open the editing view. While a source is read in or processed, the overview refreshes on its own.

Manual Upload

  • Only one source of type “Manual Upload” is allowed per knowledge base. Once it exists, the type shows Already added with Open in the list.
  • Documents: Drag files into the drag & drop area or click Upload and select files.
  • There is no synchronization interval – content is only added by manual upload.
  • Documents: List of uploaded files with status:
    • Done (green): Successfully processed and embedded.
    • Processing (orange): Processing is still in progress.
    • Error (red): Processing failed (e.g. invalid format).
  • Individual documents can be removed from the source using the trash icon.
Supported formats can be found in the application (e.g. PDF, DOCX, TXT, MD). Very large files may be excluded depending on the configuration.

API Upload

Documents are written into the source by an external system via an HTTP API. VARIOS AI does not fetch any data itself – your system calls the endpoints to upload documents, query their processing status, or remove them again.
  • Only one source of type “API Upload” is allowed per knowledge base.
  • There is no synchronization interval and no Test connection button – content only enters the source through API calls.
  • Each document is identified by an external identifier (externalIdentifier) that your system assigns on upload and reuses for status queries and deletion.
In the Scope section of the source, you define which documents the endpoint accepts: Connection: VARIOS AI generates the Bearer Token when the source is created. The Connection section shows the API endpoint (copyable) and the token, which is masked and can be revealed using the eye icon.
Treat the Bearer Token like a password and store it securely. After Create new token, the previous token becomes invalid immediately.

Set Up and Use API Upload

Technical guide: Generate a Bearer Token, endpoints for upload, status and delete, request and response examples, common errors.

VARIOS AI server folder

Documents are read from a local folder that is mounted as a volume into the container. The share folder you specify in the UI is a subfolder within the container base directory /data/Data/KnowledgebaseDocuments.
  • Test connection checks whether the folder exists in the container and is readable.
  • Hidden files (starting with . or ~) and symlinks are automatically skipped.

Set Up VARIOS AI Server Folder

Technical guide: Configure Docker Compose volumes, mount network shares (SMB/NFS), troubleshoot common errors.

GitHub

Documents are loaded from a GitHub repository.
  • Test connection checks repository, token, and branch.
  • Possible errors: invalid repository format, authentication failed, insufficient permissions, repository/branch not found, API rate limit.

WebDAV

Documents are fetched from a WebDAV server (e.g. Nextcloud, ownCloud). File extensions and Maximum file size (MB) can be set as for GitHub.
  • Test connection checks URL and authentication. Common errors: authentication failed, scheme/host not set.

Dropbox

Documents are fetched from a folder in Dropbox. VARIOS AI accesses your Dropbox account through your own Dropbox app. In the Connection step of the dialog you link the app:
1

Dropbox App

Create an app in the Dropbox App Console and enter the App Key and App Secret. The app needs read access to files and their metadata, which in Dropbox are the permissions files.metadata.read and files.content.read.
2

Allow linking

Click Link app. Dropbox opens in a new tab. Allow access there and enter the displayed code under Access Code. The code works only once.
3

Finish linking

Click Finish linking. The connection is stored only when you save the source at the end of the dialog.
In the Scope step you pick the Share folder from the folders of your Dropbox; subfolders appear once you select a folder. VARIOS AI then renews the access on its own. In the editing view, Link again links the source anew; you enter the app key and app secret again for that. The new link applies once you save.
  • Dropbox has no Test connection; the linking itself checks the app data. The connection is checked before every synchronization. If the check fails, the source shows “Error” with the message and the previous state is kept.
  • Synchronization: New Dropbox sources are set to Manual. Files changed in Dropbox are read in again, deleted files are removed from the source.

Website

The pages of a public website are read in, for example your own web presence for a chatbot. VARIOS AI starts at the start URL, follows links on the same domain up to the configured depth and keeps the main content of each page without navigation, header and footer by default (switchable to the entire page content). The page address is stored with the document so the assistant can refer to the original page in its answers.
  • What the start URL allows: Only pages on the host of the start URL are read, where a leading www. does not matter: www.your-domain.de and your-domain.de count as the same site. Everything else is foreign and is never requested, even when linked: subdomains such as service.your-domain.de, other domains such as portal.example.org, and portals your site links to. The path of the start URL additionally limits which pages of that host are read, as long as Restrict to certain pages is empty.
  • Additional domains and subdomains widen the scope deliberately: an entry *.your-domain.de adds all subdomains of that domain and the domain itself, an entry portal.example.org exactly this host but not its subdomains. Every additional host is checked against its own robots.txt and is subject to the same check for internal addresses; the patterns from Restrict to certain pages and Exclude pages apply across hosts.
  • Patterns: Patterns starting with / are matched against the path and parameters of the address, patterns starting with http:// or https:// against the full address. A pattern without a leading /, such as print or *?print=1, matches anywhere in the path and parameters. * stands for any characters, and every pattern acts as a prefix: /contact covers this page and every address that starts with it. Separate multiple patterns with commas; matching is case-insensitive.
  • Respected: robots.txt, noindex/nofollow and rel="canonical". Excluded pages are never requested, pages with noindex are not stored, and for duplicate addresses the canonical address is used. If the canonical address lies outside the crawled scope or redirects back to the page itself (for example http:// on an https:// site), the page is stored under its own address.
  • Read: HTML pages as well as text and Markdown files (.txt, .md, for example an llms.txt); text files are taken as they are. Not read: addresses outside the scope, files such as PDF or images, XML feeds, and pages with less than 40 characters of text. Tracking and session parameters are stripped from addresses.
  • Synchronization: Changed pages get new content and are re-embedded, pages that disappeared are removed from the source. The crawler pauses briefly between requests, so a run with a few hundred pages takes a few minutes.
  • Test connection checks that the start URL (and the sitemap, if given) is reachable and returns an HTML or text page, or an XML sitemap respectively.
  • Internal addresses: Addresses pointing to internal networks are rejected on every request, including redirects, not only by Test connection. Intranet sites therefore cannot be read in.
  • Limits: In addition to the page limit, fixed limits apply per run: 2 MB per page (checked while reading, larger pages are abandoned), 100 MB in total, 15 minutes runtime and at most 4 parameters in an address. A run that hits a limit ends cleanly and Last run names the reason. Sitemaps are read up to the maximum number of pages.
  • Gentle crawling: The crawler waits 250 ms between requests (or the value from Pause between page requests) and respects a Crawl-delay in robots.txt of up to 10 seconds when it is longer. When the site answers 429 or 503, it doubles its pause, to at least 500 ms, or waits the time given in the Retry-After header if that is longer, at most 10 seconds in either case. It retries the request up to three times and keeps the slower pace for the rest of the run. Last run shows how often the site throttled and the pause the run ended with. The crawler sends the user agent Mozilla/5.0 (compatible; VARIOS-AI Knowledgebase Crawler) and applies the robots.txt rules for VARIOS-AI (or the rules for * if there is no dedicated group), so operators can attribute and control the requests. Pages on the last link level are requested conditionally via ETag/Last-Modified and only confirmed, not downloaded again, when unchanged; pages whose links are followed are always downloaded again.
  • Source outage: If a run returns no page at all, the previous state is kept and the source shows “Error”. If a run ends at a limit or with failed requests, pages it did not reach are kept as well; only pages the website reports as gone with 404 or 410 are removed. Only a complete run without failures removes pages that are no longer linked.
  • Stored content: The content read for each page is stored under Data/Persistent/WebsiteSources, so embedding processes exactly what was read during the run. Redirects are followed up to five times in a row when the target is on the host of the start URL or listed under Additional domains and subdomains; the page is stored under its final address.
  • Last run: After each run, the source shows under Last run the number of pages read, unchanged and failed, the addresses blocked by robots.txt, and whether the run was stopped at a limit.
  • Document names: In the document list each page is named after its page title, with its address below. Pages read in before this version get their title with the next run.
Notes on using websites as a knowledge source: The interface shows these notes when a website source is added.
  • Permission: Only read websites whose content may be used for this purpose, and observe the website’s terms of use.
  • Data protection: Websites may contain personal or confidential information. Imported content can be transmitted to the configured AI model when answering requests. An enabled privacy filter can detect sensitive data but does not offer complete protection. It only applies to this content when the knowledge base has Data protection (DLP) set to Pseudonymized and DLP is active in the chat.
  • Trustworthiness: Only use trustworthy sources. Websites may contain manipulated content or hidden instructions that can influence the AI’s answers and actions.
  • Currency and completeness: The knowledge source reflects the state of the last synchronization. Not all pages and content can be read completely. Last run shows the result of the processing.

Status and Error Handling

Knowledge Base Status (Overview List)

  • Green: No errors, all sources are OK and documents have been processed.
  • Orange: At least one source or documents are “Processing” (e.g. sync or embedding is running).
  • Red: At least one source or documents have the status “Error”.

Source status

Card and editing view state the status in words, see Sources in the overview. With “Error”, the message of the last failed run is shown, for example a refused login or a folder that was not found. The state of the last successful run is kept.

Document Status (per Source)

The document list can be filtered by All, Done, Processing and Error. Each document is named after its title or its origin in the source (address, path or API identifier), with the file below.
  • Done: Document was successfully read and embedded.
  • Processing: Processing or embedding is still in progress.
  • Error: Processing failed. The reason is shown in words below the name:
    • Format not readable: the file is damaged, encrypted or in a format that cannot be read.
    • Timeout: reading the text took too long; for large scans it helps to split the file.
    • Text could not be read: the text of the file could not be read.
    • Withheld by DLP: the data protection check withheld a part of the document; it is not used.
    • Embedding model failed: the embedding model refused or did not answer.
    • Processing failed: another error during processing.
Clicking a document opens its details with status, origin, file, source and number of attempts. There you can download the document, Process again a failed one and Remove an uploaded one. Super admins with the expert view enabled see the technical message under Technical details. Retry all with failure restarts the processing of all failed documents of the source.
1

If the knowledge base shows a red status

In the overview, click Edit. The source cards name the reason; Repair connection or Show errors opens the affected source.
2

Correct the connection

Correct the access data in the Connection section, check it with Test connection and click Save. Confirm the question about reading in again with Read in now.
3

Check the documents

Choose the Error filter in the document list, read the reason at the document and replace, remove or Process again the document.

Quick Overview: What to Keep in Mind

  • Source type: Choose before creating – it cannot be changed afterwards.
  • Manual Upload: Only one such source per knowledge base; documents are uploaded manually only.
  • API Upload: Only one such source per knowledge base; store the Bearer Token securely and manage documents via the API using a unique external identifier.
  • VARIOS AI server folder: Check the path and read permissions on the host/container; mount volumes correctly if needed.
  • GitHub: Token with sufficient permissions (read repository); consider rate limits.
  • WebDAV: URL including scheme (e.g. https://), correct user and password; set share folder and folder depth appropriately.
  • Website: Only read websites whose content you may use; set the start URL, Follow links and Maximum number of pages appropriately and check Last run after the synchronization.
  • Synchronization: Only for GitHub, WebDAV, Dropbox, VARIOS AI server folder, and website – choose an interval or sync manually. The next run only moves when you change the interval.
  • Permissions: Access to knowledge bases is managed via assignment to Global Assistants.
Permissions controlling which users can access which knowledge base are managed via the assistants. Only assign the knowledge base to assistants for which the content is intended.