Skip to main content

Knowledge Sets

The Knowledge Sets page (/admin/knowledge-sets) lets workspace administrators manage knowledge sets. Only admin users can access this page.

Managing knowledge setsManaging knowledge sets

A knowledge set is a knowledge base (RAG corpus): a collection of documents and external sources that is prepared ("embedded") for semantic search. Agents can access one or more knowledge sets to ground their answers in your own content.

Overview

The list view shows all knowledge sets in a table with the following columns:

ColumnContent
NameName of the knowledge set
DescriptionData description (truncated)
FilesNumber of contained files
Embedding ModelModel used for embedding
CreatedCreation date

Use the search field (Search knowledge sets...) to filter the list by name or description. Use the checkboxes at the start of each row to select multiple knowledge sets and remove them together with the Delete button (which shows the number of selected entries).

Creating a Knowledge Set

  1. Click Create Knowledge Set
  2. BasePeak.AI creates the knowledge set and opens its detail page directly
  3. Give it a name there and populate the knowledge set with sources or files

The Embedding Model comes from your configured model providers (see Model Providers). Make sure at least one suitable model is available.

Editing Details

On a knowledge set's detail page, you edit the Name and Data Description. Both fields are saved automatically (Saving... appears while saving). A meaningful description helps agents recognize when this knowledge base is relevant.

A metadata bar at the top of the page shows the most important figures: Created, Files (count), Total Size, Embedding Model, as well as usage by Agents and Threads.

Knowledge set detail view with document previewKnowledge set detail view with document preview

Knowledge flow

In the Advanced section at the bottom of the detail page, you set how a knowledge set reads in, splits, and searches documents — its knowledge flow. The default suits most sets; you don't need to change anything here.

Pick a ready-made processing profile:

ProfileBest for
Standard (balanced)Most content — the default.
High quality (hybrid)Combines meaning-based and keyword search; better recall on names, IDs, and exact terms.
Large contextKeeps larger, coherent passages together — for questions that need the whole section.
Legal documentsSplits by legal structure (sections, articles, clauses) — for statutes, contracts, and ordinances.

Alternatively, upload a custom configuration file (YAML) that applies to just this knowledge set. A downloadable template gets you started.

note

Changing the flow on a set that already contains files affects only newly added files at first. BasePeak.AI therefore offers to re-ingest all existing files so the new setting applies everywhere. Sets you don't change keep working unchanged.

Knowledge Sources

In the Knowledge Sources section, you connect external data sources that are synchronized automatically. Click Add Source to create a source and select the source type:

TypeDescription
WebsiteCrawl one or more URLs
OneDriveShared OneDrive links
NotionNotion workspace
NextcloudNextcloud instance
SMB / Network ShareNetwork share (SMB)
WebDAVWebDAV server
S3 / Object StorageS3-compatible object storage
SFTPSFTP server
Council Information System (RIS)Municipal council information system
State Law (NRW)State law for a Bundesland (currently North Rhine-Westphalia) from recht.nrw.de

Depending on the type, you enter the necessary connection details and, where applicable, credentials. Optionally, you set a Sync Schedule (e.g. Hourly, Daily, or a custom cron expression) and enable Auto-approve files.

For State Law (NRW), you first choose the Bundesland (currently North Rhine-Westphalia) and then search a browsable catalogue for the laws, ordinances, and administrative regulations you want to bring into the knowledge set.

note

Content comes from recht.nrw.de (SGV.NRW) and is a non-official consolidated version.

Each source shows a status badge:

StatusMeaning
PendingSync is still pending
SyncingSync is currently running
SyncedSource was imported successfully
ErrorSync failed (details via View error)

While sources are syncing, the page updates the status automatically. From a source's actions you can Sync Now, View Files, edit it, or Remove Source.

Knowledge Files

In the Knowledge Files section, you upload documents directly. Click Upload Files and select one or more files. Supported formats include the following:

PDF, TXT, DOC, DOCX, MD, HTML, ODT, RTF, CSV, IPYNB, JSON, PPTX, PPT, and PAGES.

After uploading, each file goes through processing (ingestion and embedding). The processing state is displayed:

StateMeaning
Pending ApprovalFile was detected but not yet processed
In ProgressFile is currently being processed
IngestedFile is processed and searchable
UnsupportedFile type is not supported
ErrorProcessing failed

The page automatically refreshes pending files until processing is complete. Individual files can be permanently removed from the knowledge base via their respective Delete action.

Exporting and Importing

With Export, you create a package (.zip) from a knowledge set that optionally contains the Include knowledge set manifest (name + description) and the Include source files. Created packages appear under Recent exports with phase, size, and expiration time, and are available there for Download.

Using the Import button in the list view, you can re-import a previously exported package. You can Name override (optional) and Description override (optional) or Use manifest from package.

Deleting a Knowledge Set

You delete a knowledge set via Delete Knowledge Set (on the detail page or via the actions menu in the list). Before deleting, BasePeak.AI checks whether the knowledge set is still in use.

note

A knowledge set that is still in use by agents or threads cannot be deleted. The message This knowledge set is currently in use and cannot be deleted. appears. During bulk deletion, knowledge sets that are in use are automatically skipped.

Notes

  • The Embedding Model is set at creation time and comes from the configured Model Providers.
  • Sources with credentials (SMB, WebDAV, SFTP, S3) remain in the Pending status until a valid password is stored.
  • When deleting a knowledge set, all contained files and sources are lost irretrievably.