Skip to content

Commit fd0b8bd

Browse files
authored
Fix Acrolinx issues.
1 parent 78091eb commit fd0b8bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Quickstart: Create knowledge base - REST, Java - QnA Maker"
3-
description: This Java REST-based quickstart walks you through creating a sample QnA Maker knowledge base, programmatically, that will appear in your Azure Dashboard of your Cognitive Services API account..
3+
description: This Java REST-based quickstart walks you through creating a sample QnA Maker knowledge base, programmatically, that will appear in your Azure Dashboard of your Cognitive Services API account.
44
ms.date: 12/16/2019
55
ROBOTS: NOINDEX,NOFOLLOW
66
ms.custom: RESTCURL2020FEB27, devx-track-java
@@ -43,8 +43,8 @@ You must have a [QnA Maker service](../How-To/set-up-qnamaker-service-azure.md).
4343

4444
Set the following values:
4545

46-
* `<your-qna-maker-subscription-key>` - The **key** is a 32 character string and is available in the Azure portal, on the QnA Maker resource, on the Quickstart page. This is not the same as the prediction endpoint key.
47-
* `<your-resource-name>` - Your **resource name** is used to construct the authoring endpoint URL for authoring, in the format of `https://YOUR-RESOURCE-NAME.cognitiveservices.azure.com`. This is not the same URL used to query the prediction endpoint.
46+
* `<your-qna-maker-subscription-key>` - The **key** is a 32 character string and is available in the Azure portal, on the QnA Maker resource, on the Quickstart page. This key is not the same as the prediction endpoint key.
47+
* `<your-resource-name>` - Your **resource name** is used to construct the authoring endpoint URL for authoring, in the format of `https://YOUR-RESOURCE-NAME.cognitiveservices.azure.com`. This resource name is not the same as the one used to query the prediction endpoint.
4848

4949
You do not need to add the final curly bracket to end the class; it is in the final code snippet at the end of this quickstart.
5050

@@ -118,13 +118,13 @@ The main method creates the KB, then polls for the status. The operation ID is r
118118

119119
## Compile and run the program
120120

121-
1. Make sure the gson library is in the `./libs` directory. At the command-line, compile the file `CreateKB.java`:
121+
1. Make sure the gson library is in the `./libs` directory. At the command line, compile the file `CreateKB.java`:
122122

123123
```bash
124124
javac -cp ".;libs/*" CreateKB.java
125125
```
126126

127-
2. Enter the following command at a command-line to run the program. It will send the request to the QnA Maker API to create the KB, then it will poll for the results every 30 seconds. Each response is printed to the console window.
127+
2. Enter the following command at a command line to run the program. It will send the request to the QnA Maker API to create the KB, then it will poll for the results every 30 seconds. Each response is printed to the console window.
128128

129129
```bash
130130
java -cp ",;libs/*" CreateKB

0 commit comments

Comments
 (0)