QueryResults Class
- java.
lang. Object - com.
microsoft. bot. ai. qna. models. QueryResults
- com.
public class QueryResults
Contains answers for a user query.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| QueryResults() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.Boolean |
getActiveLearningEnabled()
Gets a value indicating whether gets or set for the active learning enable flag. |
|
Query |
getAnswers()
Gets the answers for a user query, sorted in decreasing order of ranking score. |
| void |
setActiveLearningEnabled(Boolean withActiveLearningEnabled)
Sets a value indicating whether gets or set for the active learning enable flag. |
| void |
setAnswers(QueryResult[] withAnswers)
Sets the answers for a user query, sorted in decreasing order of ranking score. |
Methods inherited from java.lang.Object
Constructor Details
QueryResults
public QueryResults()
Method Details
getActiveLearningEnabled
public Boolean getActiveLearningEnabled()
Gets a value indicating whether gets or set for the active learning enable flag.
Returns:
getAnswers
public QueryResult[] getAnswers()
Gets the answers for a user query, sorted in decreasing order of ranking score.
Returns:
setActiveLearningEnabled
public void setActiveLearningEnabled(Boolean withActiveLearningEnabled)
Sets a value indicating whether gets or set for the active learning enable flag.
Parameters:
setAnswers
public void setAnswers(QueryResult[] withAnswers)
Sets the answers for a user query, sorted in decreasing order of ranking score.
Parameters: