File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
articles/cognitive-services/LUIS/includes Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,10 @@ author: diberry
6
6
manager : nitinme
7
7
ms.service : cognitive-services
8
8
ms.topic : include
9
- ms.date : 10/17 /2019
9
+ ms.date : 11/20 /2019
10
10
ms.author : diberry
11
11
---
12
+
12
13
## Prerequisites
13
14
14
15
* [ Go] ( https://golang.org/ ) programming language
@@ -21,7 +22,7 @@ ms.author: diberry
21
22
22
23
## Get intent programmatically
23
24
24
- Use Go to query the prediction endpoint GET [ API ] ( https://aka.ms/luis-apim-v3-prediction ) to get the prediction result.
25
+ Use Go to query the [ prediction endpoint] ( https://aka.ms/luis-apim-v3-prediction ) and get a prediction result.
25
26
26
27
1 . Create a new file named ` predict.go ` . Add the following code:
27
28
@@ -79,8 +80,8 @@ Use Go to query the prediction endpoint GET [API](https://aka.ms/luis-apim-v3-pr
79
80
80
81
1 . Replace the following values:
81
82
82
- * ` YOUR-KEY` with your starter key
83
- * ` YOUR-ENDPOINT` with your endpoint, for example, ` westus2.api.cognitive.microsoft.com`
83
+ * ` YOUR-KEY` with your starter key.
84
+ * ` YOUR-ENDPOINT` with your endpoint. For example, ` westus2.api.cognitive.microsoft.com` .
84
85
85
86
1 . With a command prompt in the same directory as where you created the file, enter the following command to compile the Go file:
86
87
You can’t perform that action at this time.
0 commit comments