Skip to content

Commit 136f85a

Browse files
committed
edits of line numbers
1 parent 535e957 commit 136f85a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/cognitive-services/QnAMaker/Quickstarts/create-new-kb-csharp.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ Add the following code block inside the Program class:
6262

6363
The following code makes an HTTPS request to the QnA Maker API to create a KB and receives the response:
6464

65+
[!code-csharp[Add PostCreateKB to request via POST](~/samples-qnamaker-csharp/documentation-samples/quickstarts/create-knowledge-base/QnaQuickstartCreateKnowledgebase/Program.cs?range=145-165 "Add PostCreateKB to request via POST")]
66+
6567
[!code-csharp[Add a POST request to create KB](~/samples-qnamaker-csharp/documentation-samples/quickstarts/create-knowledge-base/QnaQuickstartCreateKnowledgebase/Program.cs?range=101-122 "Add a POST request to create KB")]
6668

6769
This API call returns a JSON response that includes the operation ID. Use the operation ID to determine if the KB is successfully created.
@@ -80,6 +82,8 @@ This API call returns a JSON response that includes the operation ID. Use the op
8082

8183
Check the status of the operation.
8284

85+
[!code-csharp[Add GetStatus to request via GET](~/samples-qnamaker-csharp/documentation-samples/quickstarts/create-knowledge-base/QnaQuickstartCreateKnowledgebase/Program.cs?range=167-187 "Add GetStatus to request via GET")]
86+
8387
[!code-csharp[Add GET request to determine creation status](~/samples-qnamaker-csharp/documentation-samples/quickstarts/create-knowledge-base/QnaQuickstartCreateKnowledgebase/Program.cs?range=124-143 "Add GET request to determine creation status")]
8488

8589
This API call returns a JSON response that includes the operation status:

0 commit comments

Comments
 (0)