Adding Existing NLU Model Intents, Utterances, Entities, Vocabulary sources to new update set

Vinod Kumar L
Tera Contributor

Hi Team,

 

I have created a intent on my English model. This intent contains around 16 utterances. I have also created Vocabulary Sources and annotated the same with my utterance.

Scope: MY CUSTOM SCOPE

update set: default set

model: English model

intent: installSoftware

utterances: 

1) install @softwareName software on my pc

2) reinstall @softwareName package on my system

entity > mapped entity (softwareName).

This entity is connected to my vocabulary source of name (softwareName)

ms teams: microsoft teams, teams

spotify: music player

 

Now, Im trying to move all my above work items to a new update set. This xml will then be imported to my other instance. For simplicity, im using (Add to Update Set) utility. I have located all the tables like

intent: sys_nlu_intent

utterance: sys_nlu_utterance

entity: sys_nlu_entity

vocabulary: sys_nlu_vocabulary

I have added all the related records on these tables to my new update set. And I imported them to my new instance. But issue is, within utterances, vocabulary names are not annotated/linked to my entity. 

 

If you see below image, you could see Entities(0) and @softwareName is not linked to my mapped entity. So, would like to know, how to capture annotations to update set. Is there a table for that which captures these annotations when we map/label utterances to an entity ?

VinodKumarL_0-1679233750377.png

 

1 ACCEPTED SOLUTION

Brian Bakker
ServiceNow Employee

Hello Vinod,

 

Instead of capturing individual NLU records into an update set, we recommend that you open the NLU Model record in table [sys_nlu_model] and use the Related Link Add model to current update set to ensure all NLU Model records are captured into the update set.

 

Screenshot 2023-03-20 at 08.57.28.png

I hope this helps.

 

Regards,

Brian

View solution in original post

1 REPLY 1

Brian Bakker
ServiceNow Employee

Hello Vinod,

 

Instead of capturing individual NLU records into an update set, we recommend that you open the NLU Model record in table [sys_nlu_model] and use the Related Link Add model to current update set to ensure all NLU Model records are captured into the update set.

 

Screenshot 2023-03-20 at 08.57.28.png

I hope this helps.

 

Regards,

Brian