Modelling your data

There a 4 types of settings which must be defined for a Model or Sub Model:

  1. Business Area - A required value which represents a parent grouping for the model, this is purely for reconciling the model with its business function and serves for your understanding of how you've organised your data. e.g. Finance

  2. Details - Describes the model and what is presented within Workplace AI e.g. Invoice with an invoice icon

  3. Attributes - Defines the data values (attributes) within the model, each attribute can have a distinct data type and link to other models e.g. Organisation, Line Item, Paid status (Attributes which are grouped/associated with a business area)

  4. Display - Defines how the model is presented throughout Workplace AI


You can create a model and edit it later. To start create a new model

1

Choose a Business Area

Select a business area for your model via:

  1. A pre-existing business area via the dropdown OR Select '+ Create New' to create a new business area e.g.Finance

  2. Select Next.

2

Details

  1. ID - Enter a unique ID for the model. (This must be lowercase and letters only. e.g.invoice)

  2. Display Name - Enter a user friendly name that users will recognise e.g. Invoice

  3. Description - Enter a short description. (This is only visible within Control Hub)

  4. Default Colour - To have the data model name and its attributes themed with a colour on your results select from the pre-defined palette.

  5. Default Icon - To use a custom icon enter a file name. The icon needs to be within the custom icons directory which is defined in app settings.

  6. Model Type - Select Standard, Sub Model or Message. For each model type there are nested options

    1. Standard - Used for top level objects e.g. Invoice or Person

      1. Applies to Files - Property mappings will be added to the indexes which store the data

      2. Applies to Collection - Property mappings will be added to Collections

      3. Applies to Users - Property mappings will be added to User settings

    2. Sub Model - Used for repeated sub data e.g. Invoice > Line items or Person > Employment history

      1. General - This doesn't come with any predefined attributes and is used to nest repeated data within a parent model.

      2. Event - For use within the event timeline visualisation

      3. Linking - Used to link records and required to support the Network Diagram, by default includes 4 required attributes. These attributes can be renamed and supplemented with additional attributes.

    3. Message - Used for the Teams and Slack connectors

      • Triggers the message display (not usable unless you use a message data like Teams or Slack) Initial number of messages to load either side of the selected message when previewing. This setting will also control how many messages are retrieved per page when loading more in preview.

3

Attributes

A model can have many attributes for instance a PO may have the authorisation code, each attribute must be defined within the model

circle-info

If you are updating to Primo you will need to update your Geo-points attributes to work on the map lens.

  1. Attribute ID - Add a Unique ID for the model attribute. (This must be lowercase letters only.)

  2. Display Name - Enter a user friendly name for the model.

  3. Data Type - Select a Data Type for this attribute from the dropdown. Defines how you want to search or use the field (list the use case for all

    1. Keyword - Exact match string Keyword (enables data navigation) - can be linked all others can't be lined stuff that you want to match exactly e.g. Invoice Type. Stuff that you can search for but can be linked as a whole - categorical that you want to match exactly

    2. Link to: Model - Link attributes to other data models by selecting the Model from the dropdown. This enables data navigation features within the app. PO field and Customer data model (11:11 timestamp)

    3. Long - For bigger numbers 64bit integer value from > to (gpt what is the range of a signed 64bit integer) e.g. Number of units

    4. Float - Stores a single precision (decimal) floating point number

    5. Double - Stores a double precision (decimal) floating point number which is more precise than (float). Use this over float unless you have a reason not to. e.g. Invoice total

    6. Date Time - Date & time string with optional timezone

    7. Address - Dedicated sub model that handles address line 1, street, city/county

    8. Geopoint - Latitude and Longitude

    9. Text - Free text field e.g. Long form text in a doc or a whole doc (multiword descriptive thing) that you want to search the copy within long form thing you want to search within

    10. Boolean - True False

    11. User - Keyword which matches a user in the system

    12. URI - Keyword which renders as a clickable link

    13. Submodel - For nested data - choose from a pre-defined sub model you wish to be nested in this model e.g. Line item submodel within an Invoice model

  4. Permissions - Enter the user groups that can see this attribute. If your data item says HR can see this data, certain attributes can be hidden from all else if user groups are opted into.

  5. Notes - Your own personal notes about the purpose of the attribute, will not be displayed within the system anywhere else.

  6. Checkboxes (some change if sub model is selected) List the full list here and explain which type that they apply to (e.g. only applies to Geopoint and Keyword)

    • Required - Check if the attribute field is mandatory. If selected Workplace AI will enforce that this attribute being present when trying to ingest data using this model.

    • Multi-value - Check if this attribute can have multiple values. e.g. a list of Product codes on an Invoice

    • Surface on Map - Check this box to display this data record using this geopoint location on the map visualisation.

    • Surface on Timeline - Check this box to display this data record using this datetime on the Timeline visualisation.

    • Searchable as Text - Check this to make this attribute full text searchable e.g. query by part of an Organisation name within the Invoice

    • Visible - Check this to show the attribute in the front end. Leave unchecked if the attribute should not be presented to users.

    • Document Link - Check this if this attribute is linked to an entity used to show matching unstructured data.

    • Not exportable - Check this to restrict users including this attribute in exports from the system

    • Exclude from comparison - Check this to stop Workplace AI from seeing this attribute change represent a new version

4

Display

How should the data model be displayed within the user app

  1. Enter the Number of Visible Data attributes should show per data result on page load.

    1. Controls the default display but consider how the presentation correlates to the data type e.g. invoice

  2. Controls hit highligting on the item Check Show Hit Highlights to Highlight content in the search results.

    • Hit highlights will highlight the terms from your search that match your results.

  3. Check Show text on details page to view surface this information within the Details view. Decides whether people can export it for an onward journey

5

Summary

Review all of the settings within the summary tab before saving.

circle-info

Upon creation of a model it is stored in an unpublished state. Once a model has been published, it's not possible to delete, edit the name of or change the data type of attributes within the model.

Last updated