VisualRecogSetCredentials
Sets the credentials to be used to do the classification.
Syntax
bool VisualRecogSetCredentials (string APIKey)
Parameters
string APIKey can be Smart Parameters.
Returns
True, if the action succeeds. Otherwise, False.
Level
Batch level.Details
This action sets the credentials to be used to do the classification. The APIKey can be Smart Parameters.
- Example
-
VisualRecogSetURL("@APPVAR(values/gen/url)") VisualRecogSetCredentials("@APPVAR(values/adv/VRAPIKey)") VisualRecogClassify("@APPVAR(values/gen/VRClassifierName)")
Note: VisualRecogSetURL action is not included if your IBM Visual Recognition token is created
before May 2018.