FAQs
This topic provides information that supplements the BMC Helix Virtual Agent documentation.
Frequently asked questions
This section provides answers to frequently asked questions about BMC Helix Virtual Agent.
You can enable chat for services from IBM Watson Assistant Skills or by using the Publish Chat-enabled service wizard in BMC Helix Virtual Agent.
BMC recommends that you enable chat for services by using the Publish Chat-enabled service wizard. For more information, see Importing chat-enabled services from BMC Helix Digital Workplace Advanced.
- Log in to your IBM Cloud account.
- Navigate to the IBM Watson Assistant Skill that is configured with BMC Helix Virtual Agent, and take the backup of the skill.
- Navigate to the dialog that contains intent for the service that has dynamic answers.
- Create a child dialog and specify its name by using the following syntax:
Fetch Dynamic Answers - <Service Name>
For example, Fetch Dynamic answers - Flight Reservation. - Specify the condition as True.
- Next to Then set context:, click , and open the JSON editor.
In the JSON editor, replace the existing text with the following text:
{ "context": { "questionIdsWithDynamicAnswer": [ <comma separated values of all the dynamic answers question Id> ] }, "output": { "text": { "values": [], "selection_policy": "sequential" }, "action": { "inputMap": { "service Id": "<serviced of the request>", "questionIdsWithDynamicAnswer": "$questionIdsWithDynamicAnswer" }, "outputMap": { "status": "${actionResult.output.status}", "message": "${actionResult.output.message}" }, "actionTypeName": "com.bmc.dsm.chatbot:fetchDynamicAnswerUsingServiceRequestId", "waitForActionExecution": true } } }
The following image shows an example of fetching dynamic answers for the Flight Reservation service:
In the Fill Questions - Flight Reservation child dialog, complete the fields.
The following table provides examples of field values for the Flight Reservation service:Check for Save it as If not preset, ask Type JSON content @sys-date && slot_in_focus
$departingDate
Required
{
"context": {
"departingDate": "<? @sys-date+' '+((entities['sys-time'] == null) ? '00:00:00': @sys-time) ?>",
"show_flyingTo": "true"
}
}
$flyingTo == null && $show_flyingTo == true
$temp
Optional
{
"context": {
"temp": "$flyingTo == null && $nextStep == 5",
"sys_options": "<? context.bmc_lookup_mappings.get('66c33cf7-9a11-9104-a2b8-a5e06f2bc9be') ?>",
"bmc_dynamicQuestionId": "66c33cf7-9a11-9104-a2b8-a5e06f2bc9be",
"bmc_isCurrentAnswerValid": "false"
}
}
input.text && slot_in_focus && $bmc_isCurrentAnswerValid
$flyingTo
Flying To
Required
{
"context": {
"flyingTo": "<? input.text ?>"
}
}
$flyingTo != null
$temp
Optional
{
"context": {
"temp": "$flyingFrom != null",
"bmc_dynamicQuestionId": null,
"bmc_isCurrentAnswerValid": "false"
}
}
Save your specifications and close the JSON editor.
- Log in to your IBM Cloud account.
- Navigate to the IBM Watson Assistant Skill that is configured with BMC Helix Virtual Agent, and take the backup of the skill.
- Navigate to the dialog that contains intent for the service that has attachments.
In the Attachment Question child dialog, complete the fields.
The following table provides examples of field values for the Flight Reservation service:Check for Save it as If not preset, ask Type JSON content @sys-date && slot_in_focus
$returningDate
Required
{
"context": {
"show_attachmentDocument": "true",
"returningDate": "<? @sys-date+' '+((entities['sys-time'] == null) ? '00:00:00': @sys-time) ?>"
}
}
$attachRequiredDocument == null && $show_attachmentDocument == true
$temp
Optional
{
"context": {
"temp": "$attachRequiredDocument == null",
"$bmc_isCurrentAnswerValid": "false",
"bmc_import_wizard_response_type": "Attachment"
}
}
input.text && slot_in_focus && $bmc_isCurrentAnswerValid
$attachRequiredDocument
Flying To
Required
{
"context": {
"attachRequiredDocument": "<? input.text ?>"
}
}
$attachRequiredDocument != null
$temp
Optional
{
"context": {
"temp": "$attachRequiredDocument != null",
"$bmc_isCurrentAnswerValid": "false"
}
}
Save your specifications and close the JSON editor.
The following table describes the limitations of real-time translation for specific content:
Content | Translation limitations or unsupported scenarios |
---|---|
Strings |
|
Knowledge articles |
|
Dates |
|
The word Amazon |
|
Comments
Log in or register to comment.