To query your knowledgebase, submit the user question in a call to the QnA Maker Runtime API’s GenerateAnswer method as illustrated below. The GenerateAnswer method returns question/answer pairs that matched your question along with the source document name or URL that the answer was found in.