Setting an NLP provider
Natural language processing (NLP) providers offer a set of natural language processing (NLP) models. IBM RPA embeds two options of NLP providers: Watson® NLP and Legacy NLP. You can choose a default NLP provider per tenant in the IBM RPA Control Center, or set which NLP provider your bots must use on demand without affecting the tenant's default.
About this task
NLP providers affect the results returned by NLP commands. The results that these commands return and the languages that they support change according to the NLP provider you choose. You have the following options:
- Legacy NLP provider
The IBM RPA legacy provider. It supports the following languages:
Language code | Language name |
---|---|
en-US |
English |
pt-BR |
Portuguese (Brazil) |
pt-PT |
Portuguese (Portugal) |
- Watson NLP provider
The IBM® Watson® NLP provider. It supports the following languages:
Language code | Language name |
---|---|
ar |
Arabic |
zh-CN |
Chinese (Simplified) |
zh-TW |
Chinese (Traditional) |
cs |
Czech |
da |
Danish |
nl |
Dutch |
de |
German |
en-US |
English |
fi |
Finnish |
fr |
French |
he |
Hebrew |
it |
Italian |
ja |
Japanese |
ko |
Korean |
nb |
Norwegian Bokmal |
nn |
Norwegian Nynorsk |
pt-BR |
Portuguese (Brazil) |
pt-PT |
Portuguese (Portugal) |
pl |
Polish |
ro |
Romanian |
ru |
Russian |
sk |
Slovak |
es |
Spanish |
sv |
Swedish |
tr |
Turkish |
Procedure
Check the following procedures to set a specific NLP provider to work with NLP commands:
Setting a tenant-level default NLP provider
New tenants use the Watson® NLP provider by default. Existing tenants use the IBM RPA Legacy NLP provider. Use the following procedure to change the default NLP provider for all scripts in a tenant.
- Log in to IBM RPA Control Center.
- On the Tenants menu, click the Tenant configuration tab.
- Click the General settings option.
- On the Default NLP provider list, select the provider that you want to set as default.
- Click Save configurations.
Setting an NLP provider during a bot's runtime
Natural language commands use the NLP provider that you define on the tenant by default. If you want to force them to use another NLP provider without changing your tenant's configuration, use the Set NLP Provider command on the script scope. This command sets an NLP provider to the script scope, forcing it to use a specific provider at runtime, regardless the tenant's default NLP provider.
Results
Your bot uses the NLP provider you set when it runs a natural language processing command.