Skip to main content

Document Sources

A Document Source is a named container that holds documents or connects to an external data system. Sources power RAG (retrieval-augmented generation): when a user sends a message, the system retrieves relevant chunks from indexed sources to ground the AI response.

Dependency chain: Source → (assigned to) Workflow node / Assistant → Chat response


Source types

TypeDescription
FileUpload files directly (PDF, images, etc.)
Azure Blob StorageConnect an Azure Blob container
Amazon S3Connect an S3 bucket
SQL DatabaseConnect a SQL data source
Web SiteCrawl a website
Rest APIPull from a REST endpoint
GraphQL APIPull from a GraphQL endpoint
WorkbookExcel/spreadsheet ingestion
JiraSync from Jira
ConfluenceSync from Confluence
SharePointConnect a SharePoint site
Text to SQLNatural-language SQL query source

Create a source

  1. Navigate to /sources/dashboard.
  2. Click New Source in the sidebar.
  3. Enter a source name. The Source Code field auto-generates a kebab-case slug from the name (editable).
  4. Select a Source Type from the dropdown.
  5. Click Save Source.
  6. You are redirected to the source detail page at /sources/\{sourceCode\}.
note

Both Name and Source Type are required. Submitting without them marks the fields as invalid. The source code auto-generates from the name but can be edited manually before saving.


Source detail page

URL: /sources/\{sourceCode\}

The Archive tab is active by default. It shows:

Stats panel

StatDescription
Total DocumentsNumber of documents in the source
Tokens ConsumedTotal tokens used during ingestion
EnabledWhether the source is active
StatusCurrent operational state
Last ProcessedTimestamp of last ingestion run
Last ScannedTimestamp of last scan
Last ModifiedTimestamp of last edit

Document table

ColumnDescription
NameFilename or document identifier
Created AtUpload/sync date
StatusDocument state (Uploaded, Processed, Failed, …)
TagsMetadata tags assigned to the document
EnabledToggle to include/exclude from RAG retrieval
DownloadDownload the original file
ActionPer-document actions menu

When a source has no documents, the table body shows "No documents found" and the stats panel shows zeros and dashes.

Source detail Archive tab with no documents — stats show zeros and 'No documents found' in the table

Upload documents (File-type sources)

  1. Open the source detail page.
  2. Click the Upload tab — navigates to /sources/\{sourceCode\}/upload.
  3. Drag and drop files onto the dropzone, or click to browse.
  4. Files appear in the upload queue; upload triggers automatic ingestion.
  5. After upload, documents appear in the Archive tab with status "Uploaded".

Process documents

  • Click Process all documents on the source detail page to re-ingest all documents in the source.
  • To process a subset: select documents via the checkbox column → click ActionsProcess.

Bulk document actions

  1. Select one or more documents using the row checkboxes.
  2. Click Actions.
  3. Choose from: Enable, Disable, Process, or Delete.

Bulk delete shows a confirmation: "Are you sure you want to delete N selected documents?"


Edit a source

From sidebar: Click Source actions (⋯) next to the source → Edit Source → navigates to /sources/\{sourceCode\}/edit.

From detail page: Click Edit Source button.

Fields on the edit page:

FieldDescription
Source nameDisplay name
LLM Ingestion settingsControls how the LLM reads and chunks the content
EnabledWhether the source is used in chat RAG responses
ContainerSource type-specific settings (e.g. Azure container name)
Description for LLMText that tells the LLM what this source contains

Click Update Source to save.


Delete a source

  1. Click Source actions (⋯) next to the source in the sidebar.
  2. Click Delete in the Danger Zone section — labelled "Permanently delete the source".
  3. Confirm in the dialog: "Are you sure you want to delete: {name}?"
  4. After deletion you are redirected to /sources/dashboard and the source is removed from the sidebar.
note

Source deletion is permanent and cannot be undone.


Search sources

Type in the Search documents… field in the sidebar to filter the source list in real-time.

Sources sidebar search with no results — magnifying glass icon and 'No sources found matching your search'

Business rules

RuleBehaviour
Name requiredValidation error if name is empty on create
Type requiredType dropdown must be selected to save
Source code auto-generatedDerives as a kebab-case slug from name; editable before saving
File-type sources support uploadUpload tab is available only for File-type sources
Enabled toggleControls whether the source is used in chat RAG retrieval
Process allRe-triggers ingestion for all documents in the source
Delete is permanentCannot be undone; labelled "Permanently delete the source"
Document enabledToggle uses data-selected attribute; persists after page reload