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:

Here is the main view of the application:

Step 2. Switch Document Grounding Space
Section titled “Step 2. Switch Document Grounding Space”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.

Step 3. Filtering options
Section titled “Step 3. Filtering options”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:


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.

In an SAP DMS space, the filter bar also offers the SAP DMS header fields of the documents.
Step 4. Documents Table & View Settings
Section titled “Step 4. Documents Table & View Settings”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.

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.

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.

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.

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:

Option 1. Upload File from local Storage
Section titled “Option 1. Upload File from local Storage”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:

(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.
Option 2. Add Link from Shared Location
Section titled “Option 2. Add Link from Shared Location”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:

(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.
After the upload
Section titled “After the upload”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.
Step 6. Preview File
Section titled “Step 6. Preview File”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.

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.

Step 7. Search within document
Section titled “Step 7. Search within document”You can search information by direct quote or logical meaning, using Grounded Search Simulation functionality. Press the Grounded Search Simulation button.

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.

Write a search phrase in the search field, and press Enter. Or press 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.

You can modify number of results and search accuracy (strictness) by pressing the settings 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.

Step 8. Edit File/Folder
Section titled “Step 8. Edit File/Folder”Select the file you want to edit and click the Edit button. Edit is not available while the document is being processed:

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.
Step 9. Delete File/Folder
Section titled “Step 9. Delete File/Folder”Select one or multiple files and press the Bin button. Confirm deletion when prompted.

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