Skip to content

Commit

Permalink
[QnA Maker] Update API data fields. (Azure#7729)
Browse files Browse the repository at this point in the history
* [QnA Maker] Update API data fields.

* camel casing
  • Loading branch information
rokulka authored and AnuTalluri committed Dec 11, 2019
1 parent da7b97c commit fba3c7e
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,16 @@
"$ref": "#/definitions/UpdateKbContentsDTO"
}
]
},
"enableHierarchicalExtraction": {
"type": "boolean",
"description": "Enable hierarchical extraction of Q-A from files and urls. The value set during KB creation will be used if this field is not present."
},
"defaultAnswerUsedForExtraction": {
"type": "string",
"description": "Text string to be used as the answer in any Q-A which has no extracted answer from the document but has a hierarchy. Required when EnableHierarchicalExtraction field is set to True.",
"maxLength": 300,
"minLength": 1
}
}
},
Expand Down Expand Up @@ -879,6 +889,16 @@
"items": {
"$ref": "#/definitions/FileDTO"
}
},
"enableHierarchicalExtraction": {
"type": "boolean",
"description": "Enable hierarchical extraction of Q-A from files and urls. Value to be considered False if this field is not present."
},
"defaultAnswerUsedForExtraction":{
"type": "string",
"description": "Text string to be used as the answer in any Q-A which has no extracted answer from the document but has a hierarchy. Required when EnableHierarchicalExtraction field is set to True.",
"maxLength": 300,
"minLength": 1
}
}
},
Expand Down

0 comments on commit fba3c7e

Please sign in to comment.