Step 2: Collections and documents
To empower our assistant with knowledge, integrating extensive documentation serves as the foundation for its continuous learning. This task involves strategically loading documents that will be part of various collections.
For our example, we'll load documents containing museum information. The first step is to create a collection for these documents.
Create collection
Let's navigate to the Collections section from the sidebar menu, and once there, click on the button .


A window will open for us to fill in the information for our collection. We'll enter the following information:
| Field | Description | Value |
|---|---|---|
| Title | Name of our collection | Museums |
| Description | Brief description of the collection. | Documents containing information about museums |
| Tags | List of tags related to the collection. | |
| Access mode | Select the access mode to the collection's documents. Public access or members only. | Acceso público |
| Members | List of members who will have access to the documents and their associated privilege. |
Once all the necessary information is provided, click on the Create button.


Now we'll have our empty collection ready to upload our documents about museums.
Uploading Documents
In our new museums collection, click on the button to add our documents containing all the information we want our future assistant to learn.
In this example, we've used documents about Spanish museums that you can find at the following link: museum documents.
With an assistant, we can provide all the information about the documents we are uploading. You can upload external files (PDF, Word, Presentation, Spreadsheet) or write the text using the Markdown editor.
Let's look at all the information we can provide about our documents and the values we will set for our example:
![]() ![]() | ![]() ![]() | ![]() ![]() |
|---|---|---|
| Source | Information | Create |
| Field | Description | Value |
|---|---|---|
| Collection | Collection associated with the document. | Museums |
| Document Source | Select the origin of the document. Markdown editor or existing files. | Existing files |
| Audiences | Audiences targeted by the document. | global |
| Language | Default language of the documents. | Spanish |
| Split Method | Indicates the default split method for the documents. | Paragraph |
| Do Not Advertise | Indicates whether the document should be advertised or not. | Disabled |
| Train | Indicates whether the document should be trained upon upload. | Enabled |
| Publish | Indicates whether the document should be published upon upload. | Enabled |
| Tags | List of tags related to the document. | None |
| Title | Name of each document. | Guggenheim, Prado, etc. |
| Language | Language of each document. | Spanish |
| Split Method | Split method of each document. | Paragraph |
| Audiences | Audiences for each document. | global |
Once all the documents are uploaded to our collection, we can consult them in both the collections section and the documents section of the side menu.
![]() ![]() | ![]() ![]() |
|---|---|
| Museum collection | Museum documents |
Split method
Once the document is uploaded, on its detail page, you can view all its related information. You'll also be able to edit various fields such as the title, description, audiences,...
An important field to consider for your documents is the split method. This field determines how Claybridge Studio will extract information from the document based on its structure.
We have the following options available:


| Option | Description |
|---|---|
| Auto | Claybridge Studio selects the most appropriate method based on the document. |
| None | No splitting is done in the document text. Useful when the document is simple and doesn't require separation into defined sections or structures. |
| Paragraph | This method is used when the document is organized into clear sections with distinctive titles. Claybridge Studio will extract information in the form of paragraphs, aiding comprehension and allowing for a more coherent reading of information. |
| Block | When a document lacks a clear structure or is a scanned document, this method is useful. Claybridge Studio will extract the text in blocks. |
Selecting the appropriate splitting method is crucial for Claybridge Studio to understand and process the document's information optimally, adapting to the specific layout and format to provide accurate and coherent results.
In our example, we'll choose the Paragraph option for all documents.
Train collection
After uploading our documents, we need to train them. This stage is crucial as it enables Claybridge Studio to learn and comprehend the content of these documents, allowing her to assimilate information effectively. During this process, Claybridge Studio actively processes the data, identifying patterns, concepts, and relationships within the document information. This learning enables her to respond accurately and contextually to user queries or requests based on the information contained in those documents.
We can carry out the training process document by document or, as in our case, train all the documents in the collection.
On the museums collection page, we click the Train button, and shortly afterward, all the collection's documents will be ready for use.


We can go to the record of one of the documents and check the Passages tab to see how Claybridge Studio has extracted the information from the document. If necessary, we can make modifications to these passages.


Great, now our museum information is ready. Next, let's explore how to perform searches on this information.









