Skip to content

Watson Asserters (Botium Box Only)

WATSONV1_HAS_CONTEXT

  • IBM Watson (V1) Context Variable Existance Asserter

  • Args: Context variable name

WATSONV1_CONTEXT

  • IBM Watson (V1) Context Variable Value Asserter

  • Args: Context variable name and expected value

WATSONV1_ACTION

  • IBM Watson (V1) Action Asserter

  • Args: Action name

WATSONV2_HAS_CONTEXT

  • IBM Watson (V2) Context Variable Existance Asserter

  • Args: Context variable name

WATSONV2_CONTEXT

  • IBM Watson (V2) Context Variable Value Asserter

  • Args: Context variable name and expected value

WATSONV2_ACTION

  • IBM Watson (V2) Action Asserter

  • Args: Action name

WATSONV2_ACTION_HAS_PARAMETER

  • IBM Watson (V2) Action Parameter Existance Asserter

  • Args: Action name and parameter name

WATSONV2_ACTION_PARAMETER

  • IBM Watson (V2) Action Parameter Asserter

  • Args: Action name, parameter name and expected value

Example

#bot
WATSONV2_ACTION ValidateAcc
WATSONV2_ACTION_PARAMETER ValidateAcc|chosen_acc|9225
WATSONV2_ACTION_HAS_PARAMETER ValidateAcc|chosen_acc