Ask

Sends a question to HPE Answer Server and returns appropriate answers.

You specify the question in plain text in the Text parameter.

HPE Answer Server parses the question, and attempts to retrieve associated answers from all your configured answer systems (fact banks and answer banks). If you have multiple systems configured, HPE Answer Server finds any available answers in all of them. You can optionally set the SystemNames parameter to specify the configured systems to attempt to retrieve answers from.

Example

http://12.3.4.56:12000/action=Ask&Text=What is the largest city in Norway?

This action requests an answer to the question What is the largest city in Norway from the HPE Answer Server accessible by IP 12.3.4.56 and port 12000.

Parameters

Parameter Description Required
FirstResult The number of the first result to return.  
MaxResults The maximum number of answers to return.  
MinScore The minimum score that an answer can have  
Sort The method to use to sort the answers.  
SystemNames The systems that you want to request answers from.  
Text The plain text question that you want to answer. Yes

This action accepts the following standard ACI action parameters.

Parameter Description
ActionID A string to use to identify an ACI action.
EncryptResponse Encrypt the output.
FileName The file to write output to.
ForceTemplateRefresh Forces the server to load the template from disk.
Output Writes output to a file.
ResponseFormat The format of the action output.
Template The template to use for the action output.
TemplateParamCSVs A list of variables to use for the specified template.

_HP_HTML5_bannerTitle.htm