Announcing the Global SNUG Board of Directors. Learn more here

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
shashanktonpeka
ServiceNow Employee
ServiceNow Employee


// New Quebec code to train and publish model


NLUStudioTrainer.trainModel(<nlu id>);
NLUStudioPublisher.publishModel(<nlu id>);

where <nlu id> is sys_id of NLU model present in system. 

Comments
D van Heusden
ServiceNow Employee
ServiceNow Employee

Or you can use the UI find_real_file.png

And out of curiosity, can you elaborate on the use case for using these methods?

find_real_file.png

Nikita Garg
Kilo Guru

Hi,

I am able to Train the Model successfully but the Publish button is grayed out.. Any idea why it is not allowing me to publish?

Thanks in advance.

 

Nikita

Nlshmm
Kilo Explorer

Hi Nikita, 

did you solve the problem. I'm interessted in your solution because i also can't publish. I think it's because of protection policy.

Thanks in advance

Nils

Brian Bakker
ServiceNow Employee
ServiceNow Employee

Hello Nikita,

Please review KB0952640: NLU Model training throws an error without an error message and creates a record in table [ml_solution] for the trained NLU Model solution. After training the NLU Model, the "Publish" button is greyed out and you cannot publish the NLU Model.

Follow the steps in the Workaround section to determine and delete the duplicate record in table [ml_solution] that causes the Publish button to be greyed out.

You will need to be logged into the ServiceNow Support web site to see this KB article.

Best regards,

Brian

 

Version history
Last update:
‎02-28-2021 09:20 PM
Updated by: