You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/cognitivelanguage/azure-ai-language-conversations/README.md
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
# Azure Conversational Language Understanding client library for Python
4
4
Conversational Language Understanding, aka **CLU** for short, is a cloud-based conversational AI service which is mainly used in bots to extract useful information from user utterance (natural language processing).
5
-
The CLU **analyze api** encompasses two projects; deepstack, and workflow projects.
6
-
You can use the "deepstack" project if you want to extract intents (intention behind a user utterance] and custom entities.
7
-
You can also use the "workflow" project which orchestrates multiple language apps to get the best response (language apps like Question Answering, Luis, and Deepstack).
5
+
The CLU **analyze api** encompasses two projects; conversation, and orchestration projects.
6
+
You can use the "conversation" project if you want to extract intents (intention behind a user utterance) and custom entities.
7
+
You can also use the "orchestration" project which orchestrates multiple language apps to get the best response (language apps like Question Answering, Luis, and Conversation).
@@ -67,16 +67,16 @@ The `azure-ai-language-conversation` client library provides both synchronous an
67
67
68
68
The following examples show common scenarios using the `client`[created above](#create-conversationanalysisclient).
69
69
70
-
### Analyze a conversation with a Deepstack App
71
-
If you would like to extract custom intents and entities from a user utterance, you can call the `client.analyze_conversations()` method with your deepstack's project name as follows:
70
+
### Analyze a conversation with a Conversation App
71
+
If you would like to extract custom intents and entities from a user utterance, you can call the `client.analyze_conversations()` method with your conversation's project name as follows:
72
72
73
73
```python
74
74
# import libraries
75
75
import os
76
76
from azure.core.credentials import AzureKeyCredential
77
77
78
78
from azure.ai.language.conversations import ConversationAnalysisClient
79
-
from azure.ai.language.conversations.models importAnalyzeConversationOptions
79
+
from azure.ai.language.conversations.models importConversationAnalysisOptions
If you would like to pass the user utterance to your orchestrator (worflow) app, you can call the `client.analyze_conversations()` method with your workflow's project name. The orchestrator project simply orchestrates the submitted user utterance between your language apps (Luis, Deepstack, and Question Answering) to get the best response according to the user intent. See the next example:
119
+
If you would like to pass the user utterance to your orchestrator (worflow) app, you can call the `client.analyze_conversations()` method with your orchestration's project name. The orchestrator project simply orchestrates the submitted user utterance between your language apps (Luis, Conversation, and Question Answering) to get the best response according to the user intent. See the next example:
120
120
121
121
```python
122
122
# import libraries
123
123
import os
124
124
from azure.core.credentials import AzureKeyCredential
125
125
126
126
from azure.ai.language.conversations import ConversationAnalysisClient
127
-
from azure.ai.language.conversations.models importAnalyzeConversationOptions
127
+
from azure.ai.language.conversations.models importConversationAnalysisOptions
### Analyze conversation with a Workflow (Direct) App
162
+
### Analyze conversation with a Orchestration (Direct) App
163
163
164
-
If you would like to use an orchestrator (workflow) app, and you want to call a specific one of your language apps directly, you can call the `client.analyze_conversations()` method with your workflow's project name and the diirect target name which corresponds to your one of you language apps as follows:
164
+
If you would like to use an orchestrator (orchestration) app, and you want to call a specific one of your language apps directly, you can call the `client.analyze_conversations()` method with your orchestration's project name and the diirect target name which corresponds to your one of you language apps as follows:
165
165
166
166
```python
167
167
# import libraries
168
168
import os
169
169
from azure.core.credentials import AzureKeyCredential
170
170
171
171
from azure.ai.language.conversations import ConversationAnalysisClient
172
-
from azure.ai.language.conversations.models importAnalyzeConversationOptions
172
+
from azure.ai.language.conversations.models importConversationAnalysisOptions
Copy file name to clipboardExpand all lines: sdk/cognitivelanguage/azure-ai-language-conversations/azure/ai/language/conversations/_conversation_analysis_client.py
"""This API accepts a request and mediates among multiple language projects, such as LUIS Generally Available, Question Answering, LUIS Deepstack, and then calls the best candidate service to handle the request. At last, it returns a response with the candidate service's response as a payload.
27
+
"""This API accepts a request and mediates among multiple language projects, such as LUIS Generally Available, Question Answering, Conversation, and then calls the best candidate service to handle the request. At last, it returns a response with the candidate service's response as a payload.
28
28
29
29
In some cases, this API needs to forward requests and responses between the caller and an upstream service.
Copy file name to clipboardExpand all lines: sdk/cognitivelanguage/azure-ai-language-conversations/azure/ai/language/conversations/aio/_configuration.py
Copy file name to clipboardExpand all lines: sdk/cognitivelanguage/azure-ai-language-conversations/azure/ai/language/conversations/aio/_conversation_analysis_client.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@
19
19
from .operationsimportConversationAnalysisClientOperationsMixin
"""This API accepts a request and mediates among multiple language projects, such as LUIS Generally Available, Question Answering, LUIS Deepstack, and then calls the best candidate service to handle the request. At last, it returns a response with the candidate service's response as a payload.
22
+
"""This API accepts a request and mediates among multiple language projects, such as LUIS Generally Available, Question Answering, Conversation, and then calls the best candidate service to handle the request. At last, it returns a response with the candidate service's response as a payload.
23
23
24
24
In some cases, this API needs to forward requests and responses between the caller and an upstream service.
Copy file name to clipboardExpand all lines: sdk/cognitivelanguage/azure-ai-language-conversations/azure/ai/language/conversations/aio/operations/_operations.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -26,17 +26,17 @@ class ConversationAnalysisClientOperationsMixin:
Copy file name to clipboardExpand all lines: sdk/cognitivelanguage/azure-ai-language-conversations/azure/ai/language/conversations/models/_conversation_analysis_client_enums.py
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,13 @@ class ErrorCode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
0 commit comments