Skip to content

Commit 8da5513

Browse files
committed
edits
1 parent ec18bc3 commit 8da5513

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

articles/cognitive-services/LUIS/luis-get-started-go-add-utterance.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ For this article, you need a free [LUIS](luis-reference-regions.md#luis-website)
4242
> The complete Go solution including an example `utterances.json` file are available from the [**LUIS-Samples** Github repository](https://github.com/Microsoft/LUIS-Samples/blob/master/documentation-samples/authoring-api-samples/go).
4343
4444
## Add utterances and train using the Authoring API with Go
45-
You can add example utterances to an existing intent and train the app with Go.
46-
47-
1. Create a new file named `add-utterances.go`. Add the following code:
45+
You can add example utterances to an existing intent and train the app with Go. Create a new file named `add-utterances.go`. Add the following code:
4846

4947
[!code-go[Go code that adds utterance and trains app](~/samples-luis/documentation-samples/authoring-api-samples/go/add-utterances.go?range=35-136)]
5048

@@ -58,7 +56,7 @@ The `text` field contains the text of the utterance. The `intentName` field must
5856

5957
If the entityLabels list is not empty, the `startCharIndex` and `endCharIndex` need to mark the entity referred to in the `entityName` field. Both indexes are zero-based counts meaning 6 in the top example refers to the "S" of Seattle and not the space before the capital S.
6058

61-
```json
59+
```JSON
6260
[
6361
{
6462
"text": "go lang 1",

0 commit comments

Comments
 (0)