Skip to content

Commit 4f78e43

Browse files
committed
fix file name
1 parent 19f85de commit 4f78e43

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

articles/cognitive-services/LUIS/luis-get-started-php-get-intent.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
title: Analyze natural language text in Language Understanding (LUIS) using PHP - Cognitive Services - Azure Cognitive Services | Microsoft Docs
2+
title: Quickstart to Analyze natural language text in Language Understanding (LUIS) using PHP - Cognitive Services - Azure Cognitive Services | Microsoft Docs
33
description: In this quickstart, use an available public LUIS app to determine a user's intention from conversational text. Using PHP, send the user's intention as text to the public app's HTTP prediction endpoint. At the endpoint, LUIS applies the public app's model to analyze the natural language text for meaning, determining overall intent and extracting data relevant to the app's subject domain.
44
services: cognitive-services
55
author: diberry
66
manager: cjgronlund
77
ms.service: cognitive-services
88
ms.component: language-understanding
99
ms.topic: quickstart
10-
ms.date: 08/16/2018
10+
ms.date: 08/23/2018
1111
ms.author: diberry
1212
#Customer intent: As an API or REST developer new to the LUIS service, I want to query the LUIS endpoint of a published model using PHP so that I can see the JSON prediction response.
1313
---
@@ -38,13 +38,14 @@ ms.author: diberry
3838
## Analyze text with PHP
3939

4040
You can use PHP to access the same results you saw in the browser window in the previous step.
41-
1. Copy the code that follows and save it into an HTML file:
41+
42+
1. Copy the code that follows and save it with filename `endpoint-call.php`:
4243

4344
[!code-php[PHP code that calls a LUIS endpoint](~/samples-luis/documentation-samples/quickstarts/analyze-text/php/endpoint-call.php)]
4445

4546
2. Replace `"YOUR-KEY"` with your endpoint key.
4647

47-
3. Run the PHP application. It displays the same JSON that you saw earlier in the browser window.
48+
3. Run the PHP application with `php endpoint-call.php`. It displays the same JSON that you saw earlier in the browser window.
4849

4950
## LUIS keys
5051

0 commit comments

Comments
 (0)