Providing entity type usage examples

On the model details view, the Template Examples section provides examples of how the entity type values appear in the context of your data. The examples provide additional help to Tonic Textual to identify the values.

Adding and removing template examples

To add a template field to the list, click Add Another Template.

To remove a template from the list, click its delete icon.

Format of a template example

Each template example is a short sentence or phrase that shows how the entity type value might appear.

To represent a data type, use {{entity_type_label}}. The label used in the template must exactly match the entity label.

For example, for an entity type with the identifier AGE, the following is a good example of a template:

It’s hard to believe I will be {{AGE}} years old next Tuesday!

Getting template examples from Textual

After you create your template examples, to have Textual generate additional examples, click Preview Generated Templates.

You can use the generated values to see how well Tonic Textual understands the entity type and examples, and whether you need to add or update the examples that you provided.

Providing additional instructions

We recommend that you sample the templates before you save the model.

If the resulting templates are not suitably accurate or diverse, you can use the Extra instructions text area to provide extra instructions in the prompt.

Last updated