Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QnA][CLU] Release prep #21518

Merged
merged 6 commits into from
Nov 2, 2021
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 1.0.0b1 (unreleased)
## 1.0.0b1 (2021-11-03)

### Features Added
* Initial release
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def sample_analyze_conversation_app_language_parm_async():
import os
from azure.core.credentials import AzureKeyCredential

from azure.ai.language.conversations import ConversationAnalysisClient
from azure.ai.language.conversations.aio import ConversationAnalysisClient
from azure.ai.language.conversations.models import ConversationAnalysisOptions

# get secrets
Expand All @@ -48,7 +48,7 @@ async def sample_analyze_conversation_app_language_parm_async():
# analyze quey
client = ConversationAnalysisClient(conv_endpoint, AzureKeyCredential(conv_key))
async with client:
result = client.analyze_conversations(
result = await client.analyze_conversations(
input,
project_name=conv_project,
deployment_name='production'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def sample_analyze_orchestration_app_conversation_response_async():
import os
from azure.core.credentials import AzureKeyCredential

from azure.ai.language.conversations import ConversationAnalysisClient
from azure.ai.language.conversations.aio import ConversationAnalysisClient
from azure.ai.language.conversations.models import ConversationAnalysisOptions

# get secrets
Expand All @@ -47,7 +47,7 @@ async def sample_analyze_orchestration_app_conversation_response_async():
# analyze query
client = ConversationAnalysisClient(conv_endpoint, AzureKeyCredential(conv_key))
async with client:
result = client.analyze_conversations(
result = await client.analyze_conversations(
input,
project_name=orchestration_project,
deployment_name='production',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def sample_analyze_orchestration_app_luis_response_async():
import os
from azure.core.credentials import AzureKeyCredential

from azure.ai.language.conversations import ConversationAnalysisClient
from azure.ai.language.conversations.aio import ConversationAnalysisClient
from azure.ai.language.conversations.models import ConversationAnalysisOptions

# get secrets
Expand All @@ -47,7 +47,7 @@ async def sample_analyze_orchestration_app_luis_response_async():
# analyze query
client = ConversationAnalysisClient(conv_endpoint, AzureKeyCredential(conv_key))
async with client:
result = client.analyze_conversations(
result = await client.analyze_conversations(
input,
project_name=orchestration_project,
deployment_name='production',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def sample_analyze_orchestration_app_qna_response_async():
import os
from azure.core.credentials import AzureKeyCredential

from azure.ai.language.conversations import ConversationAnalysisClient
from azure.ai.language.conversations.aio import ConversationAnalysisClient
from azure.ai.language.conversations.models import ConversationAnalysisOptions

# get secrets
Expand All @@ -47,7 +47,7 @@ async def sample_analyze_orchestration_app_qna_response_async():
# analyze query
client = ConversationAnalysisClient(conv_endpoint, AzureKeyCredential(conv_key))
async with client:
result = client.analyze_conversations(
result = await client.analyze_conversations(
input,
project_name=orchestration_project,
deployment_name='production',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
'azure.ai.language',
]),
install_requires=[
"azure-core<2.0.0,>=1.19.0",
"azure-core<2.0.0,>=1.19.1",
"msrest>=0.6.21",
'azure-common~=1.1',
'six>=1.11.0',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 1.0.0 (Unreleased)
## 1.0.0 (2021-11-03)

* We are now targeting service version `2021-10-01`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
'azure.ai.language',
]),
install_requires=[
'azure-core<2.0.0,>=1.19.0',
'azure-core<2.0.0,>=1.19.1',
'msrest>=0.6.21',
],
extras_require={
Expand Down
4 changes: 2 additions & 2 deletions shared_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ backports.functools-lru-cache >= 1.6.4; python_version == "2.7"
#override azure-keyvault-secrets azure-core<2.0.0,>=1.7.0
#override azure-ai-textanalytics msrest>=0.6.21
#override azure-ai-textanalytics azure-core<2.0.0,>=1.19.1
#override azure-ai-language-questionanswering azure-core<2.0.0,>=1.19.0
#override azure-ai-language-questionanswering azure-core<2.0.0,>=1.19.1
#override azure-ai-language-questionanswering msrest>=0.6.21
#override azure-search-documents azure-core<2.0.0,>=1.19.0
#override azure-ai-formrecognizer msrest>=0.6.21
Expand Down Expand Up @@ -353,7 +353,7 @@ opentelemetry-sdk<2.0.0,>=1.5.0,!=1.10a0
#override azure-mgmt-azurearcdata msrest>=0.6.21
#override azure-mgmt-servicelinker msrest>=0.6.21
#override azure-mgmt-fluidrelay msrest>=0.6.21
#override azure-ai-language-conversations azure-core<2.0.0,>=1.19.0
#override azure-ai-language-conversations azure-core<2.0.0,>=1.19.1
#override azure-ai-language-conversations msrest>=0.6.21
#override azure-mgmt-dataprotection msrest>=0.6.21
#override azure-mgmt-chaos msrest>=0.6.21