Skip to content

Manage Model Schema

The next step is to define your schema. In Duet, you don't have to commit to a full schema before you explore the data. You can start with a simple schema and grow it as you build the model. Duet supports all types of schema edits (add/rename/delete/move).

Document Classifier

Fill out input fields with your schema categories. When defining your schema categories, please note that schemas can be built in a hierarchical fashion:

  1. Additional schema categories can be added via the "+ Add Sub-category" button.

  2. After a schema category has been added to an input field, you can add sub-categories. Once text has been entered into the input field, the options "+Add Sub-category" and "+Delete" will appear to the right.

  3. Press "+Add Sub-category" to add a new sub-category. You can create two levels of sub-categories.

When defining the schema of a document classifier model, there is a system-provided category at each level of the hierarchy called "other", which you can use to categorize irrelevant documents to the categories at that level.

Entity Extractor

Fill out input fields with your schema categories. When defining your schema categories, please note that schemas can be built in a hierarchical fashion:

  1. Fill out the available input fields, with a parent schema category and children categories.

  2. After a schema category has been added to an input field, you can add sub-categories. Press "+" to add new child categories and the trash can button to delete the category.

  3. You can create up to three layers of the schema hierarchy.

With model type selected and schema defined, you are ready to select a dataset.

Back to top