v15

latestSwagger 2.0raw.githubusercontent.com2020-10-09152941.7 KB
Knowledgebases

Asynchronous operation to create a new knowledgebase.

post/knowledgebases/create

Request body

namestring required

Friendly name for the knowledgebase.

urlsstring[]

List of URLs to be used for extracting Q-A.

enableHierarchicalExtractionboolean

Enable hierarchical extraction of Q-A from files and urls. Value to be considered False if this field is not present.

defaultAnswerUsedForExtractionstring

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.

languagestring

Language of the knowledgebase. Please find the list of supported languages <a href="https://aka.ms/qnamaker-languages#languages-supported" target="_blank">here</a>.

Response

Details of the asynchronous operation.

operationState'Failed' | 'NotStarted' | 'Running' | 'Succeeded'

Enumeration of operation states.

createdTimestampstring

Timestamp when the operation was created.

lastActionTimestampstring

Timestamp when the current state was entered.

resourceLocationstring

Relative URI to the target resource location for completed resources.

userIdstring

User Id

operationIdstring

Operation Id.