Skip to content

Document Grounding Hub

Document Grounding Hub serves as a library for RAG documents. You can browse existing files using various filtering options or upload new ones.

Step 1. Open the Document Grounding Hub application in the AI Agent group:

Screenshot

Here is the main view of the application:

The Document Grounding Hub: the space title with Grounded Search Simulation and Switch Document Grounding Space, the filter bar, and the Items table with the processing status of each document

Document Grounding Spaces are declared in Models Hub. Multiple destinations (connections) may be available, each containing a different set of files.

To switch the Document Grounding Space:

(1) Click the Switch Document Grounding Space button in the top-right corner.

(2) Select your Destination.

(3) Press the Switch button.

The Switch Document Grounding Space button (1), the Destination list in its dialog (2) and the Switch button (3)

Press the icon on the right side of each filter to see possible options, or type in a value for search. A date filter lists date options; any other filter opens a dialog where you search for values and select them.

Press the Go button or press Enter on keyboard to see the search results:

The date options of the Uploaded On filter, open, and the Go button

The dialog of the Document Name filter: the search value Business, the matching document selected, and the OK button

Click Adapt Filters (1) to choose which filters should be visible.
Press the eye icon of a filter (2) to show or hide it. To add a filter, choose it in Add Filter.
To change the order of the filters, press Sort and drag them by their handles (3).
Finally, press OK (4) to save changes.

The Adapt Filters dialog in its Sort view: the Adapt Filters button (1), the eye icons that show or hide each filter (2), the Sort button with the drag handles (3) and the OK button (4)

In an SAP DMS space, the filter bar also offers the SAP DMS header fields of the documents.

Yellow columns are standard. Green columns are destination-specific, corresponding to attributes defined for each destination. Attribute settings are managed in the Models Hub application.

An SAP DMS space: the standard columns Name, Processing Status and Uploaded On framed yellow, and the destination-specific columns Country, Document Version and Status framed green

To customize the table view:

(1) Click the settings icon in the top-right corner of the table. The View Settings panel will open.

(2) Hover over a column name and use the arrows to change the order.

(3) Select columns to show or hide.

(4) Click OK to confirm changes.

The View Settings dialog: the settings icon (1), the arrows that move a column (2), the checkbox that shows or hides it (3) and the OK button (4)

Processing status

The Processing Status column shows how far the processing of each document has come. Grounded search finds a document once it is Vectorized.

  • Queued – the document waits for its file or for its vectorization.
  • Parsing – the text of the document is being extracted.
  • Vectorizing – the document is being vectorized. A bar under the status shows the progress.
  • Vectorized – the processing is complete.
  • Parsing failed – the text could not be extracted, often because the file format is not supported or the file is damaged.
  • Vectorization failed – the document could not be split into parts and vectorized, possibly because of its structure or content.

A folder has no processing status. The statuses update by themselves while documents are processed, so you do not need to reload the page. To see why a document failed, press its status: the error text opens. What to do next is described under After the upload.

The Documents table with the Processing Status column: vectorized documents, and documents whose parsing failed, marked red with a Retry icon at the end of their rows

Views by processing status

To see the documents of one processing status, choose it in the list next to the table title. Each entry shows its number of documents, for example Queued (12).

  • All lists every folder and document. Its number counts documents only, so it is the sum of the numbers of the other entries.
  • Every other entry lists only the documents with that status, without folders. A document in a folder shows the folder name under its own name.

The list next to the table title, open: All (27), Queued (0), Parsing (0), Vectorizing (0), Vectorized (18), Parsing failed (8) and Vectorization failed (1)

In an SAP DMS space, each SAP DMS document is a folder, and its originals are the documents in it.

The numbers follow the filter bar: with a filter set, they count only the documents that pass it. While documents are processed, the numbers change, and a document moves to the entry of its new status within a few seconds. When you switch to another space, the table shows All again.

You can also group the table by Processing Status in the view settings. Each group is titled with its status, for example Processing Status: Queued.

Step 5. Uploading Documents to Document Grounding Hub

Section titled “Step 5. Uploading Documents to Document Grounding Hub”

You can upload your files to Document Grounding Hub using two methods: Manual Upload or Automated Link-Based Retrieval.

In order to add a file, click on the Add button in the top right corner of the table:

The Add menu of the table: Upload File from Local Storage and Add Link from Shared Location

This method allows you to upload a document directly from your local storage. If the document is updated, you must reupload it to ensure the latest version is available.

How It Works:
You choose a file from your device and upload it for processing.

Best For:
Static documents that are not updated frequently.

How to Upload a Document Manually:

Screenshot

(1) Select file – Select the document file from its location on your computer.

(2) URL for Source Document – Add a URL link if you want the document accessible in AI Agent scenarios via a web link (Optional).

(3) Document Attributes – enter values for any document attributes.

Click Upload to send the document to the Document Grounding System and start vectorization process.

With this method, the system automatically retrieves and synchronizes the latest version of a document/folder from a shared storage location (e.g., SharePoint). This ensures that your content is always up to date without manual uploads.

How It Works:
Once you provide the document/folder link, the system will periodically check for updates and synchronize the content automatically.

When to Use:
This is ideal for dynamic documents/folders that are regularly updated and need to be kept in sync without manual intervention.

How to Set Up Automated Link-Based Retrieval:

Screenshot

(1) Synchronized With – Choose the destination where your content will be synchronized. This must be configured in the Models Hub

(2) Select Upload Type – Choose whether you’re uploading a file or a folder

(3) URL for Document from Shared Location – Open your document or folder in browser and copy the link.

(4) Document Name – This will be automatically extracted from the provided SharePoint link.

(5) Synchronization Frequency – The system applies a default sync frequency, but you can adjust it to match your document’s update cycle.

(6) Category – You can add custom metadata for your document or folder here. If uploading a folder, all new files synchronized through it will inherit these attribute values.

The document appears in the table as Queued and moves on to Parsing, Vectorizing and Vectorized by itself, as described under Processing status. You can go on working meanwhile.

If the upload itself fails, a message tells you why, for example:

  • Unauthorized – you do not have the permissions you need, or your session has expired.
  • Internal Server Error – a problem in the backend, such as a database failure. It is usually temporary; if it remains, contact your administrator.

If the processing fails, the document shows Parsing failed or Vectorization failed. Press the status to read the reason, then:

  • To process a failed document again, press Retry (the circular arrow) at the end of its row. To retry several documents at once, select them and press Retry Failed Documents in the table toolbar.
  • To stop a document that is still being processed, for example one added by mistake, press Cancel Upload (the X) at the end of its row. This removes the document from the space.

Click on the row containing the document you want to preview. Only Vectorized documents open the preview; the rows of documents that are still being processed or have failed cannot be opened. An open preview closes when its document is deleted or processed again.

A selected document and its preview next to the table, with the separator that resizes the preview and the icons that enter full screen and close it

To resize the preview, drag the separator on its left side. To enter full screen, press the icon in the top-right corner.

Click the X icon in the top-right corner to close the preview.

The preview in full screen, with the X icon that closes it

You can search information by direct quote or logical meaning, using Grounded Search Simulation functionality. Press the Grounded Search Simulation button.

The Grounded Search Simulation button in the top-right corner of the page

Use filters to pre-filter source documents. Only visible documents (documents that are result of filtering) will be used for retrieving the Grounded Search results.

The filter bar with a Document Name filter set and the Go button; the table lists the one matching document

Write a search phrase in the search field, and press Enter. Or press the arrow icon.

The Grounded Search Simulation panel next to the page, with a question in the search field and the arrow icon

Press the window resize button (1) to set Grounded Search Window to Fullscreen.

Press the blue document name in results (2) to open source document in preview mode.

Search results in the Grounded Search Simulation panel: the full-screen button (1) and the document name of a result (2)

You can modify number of results and search accuracy (strictness) by pressing the settings button:

The settings of the search, open: Number of Results from Files and Min Similarity, with the Edit button

Access the help dialogue by pressing the i Icon.

Edit the values, and press Save.

  • Number of Results from Files: the maximum number of text segments (chunks) a search returns, 5 by default. Enter a whole number of 1 or more; there is no upper limit. Any other value shows an error on the field, and Save stays disabled. A higher value can return more results, and the search takes longer, because all results are shown in the list at once. The value applies until you reload the app.

The Customize Grounded Search Simulation dialog with the i icon and the Save button

Select the file you want to edit and click the Edit button. Edit is not available while the document is being processed:

A selected document (1), the Edit button (2) and the Save button of the Edit dialog (3)

You can also edit a folder added from a shared location: select the checkbox next to its name and click Edit. The Edit Link-Based Retrieval dialog opens.

Select one or multiple files and press the Bin button. Confirm deletion when prompted.

A selected document (1), the Delete button (2) and the OK button of the confirmation (3)

When you delete a folder, the confirmation tells you how many documents it contains. They are deleted together with the folder.