-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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] Initial SDK #19544
[QnA] Initial SDK #19544
Conversation
This pull request is protected by Check Enforcer. What is Check Enforcer?Check Enforcer helps ensure all pull requests are covered by at least one check-run (typically an Azure Pipeline). When all check-runs associated with this pull request pass then Check Enforcer itself will pass. Why am I getting this message?You are getting this message because Check Enforcer did not detect any check-runs being associated with this pull request within five minutes. This may indicate that your pull request is not covered by any pipelines and so Check Enforcer is correctly blocking the pull request being merged. What should I do now?If the check-enforcer check-run is not passing and all other check-runs associated with this PR are passing (excluding license-cla) then you could try telling Check Enforcer to evaluate your pull request again. You can do this by adding a comment to this pull request as follows: What if I am onboarding a new service?Often, new services do not have validation pipelines associated with them, in order to bootstrap pipelines for a new service, you can issue the following command as a pull request comment: |
/azp run prepare-pipelines |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run prepare-pipelines |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run python - cognitivelanguage - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run python - cognitivelanguage - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run python - cognitivelanguage - tests |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow this looks amazing, also wonderful tests
sdk/cognitivelanguage/azure-ai-language-questionanswering/README.md
Outdated
Show resolved
Hide resolved
sdk/cognitivelanguage/azure-ai-language-questionanswering/README.md
Outdated
Show resolved
Hide resolved
sdk/cognitivelanguage/azure-ai-language-questionanswering/README.md
Outdated
Show resolved
Hide resolved
sdk/cognitivelanguage/azure-ai-language-questionanswering/README.md
Outdated
Show resolved
Hide resolved
sdk/cognitivelanguage/azure-ai-language-questionanswering/README.md
Outdated
Show resolved
Hide resolved
|
||
#### Get an API key | ||
|
||
You can get the **endpoint** and an **API key** from the Cognitive Services resource or Question Answering resource in the [Azure Portal][azure_portal]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does QNA support multi-service / Cognitive Services resource? Wondering about it since above it says we need an existing Questioning Answering resource
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm I'm not sure - I will look into this!
sdk/cognitivelanguage/azure-ai-language-questionanswering/README.md
Outdated
Show resolved
Hide resolved
sdk/cognitivelanguage/azure-ai-language-questionanswering/README.md
Outdated
Show resolved
Hide resolved
sdk/cognitivelanguage/azure-ai-language-questionanswering/README.md
Outdated
Show resolved
Hide resolved
sdk/cognitivelanguage/azure-ai-language-questionanswering/README.md
Outdated
Show resolved
Hide resolved
sdk/cognitivelanguage/azure-ai-language-questionanswering/README.md
Outdated
Show resolved
Hide resolved
Please pardon the “newbie” question, but if this is an “initial SDK” for a new service, why do we support Python 2.7? We won’t be “breaking anyone” if we choose to support only 3.6 and later. |
Hi @mikekistler - it's a good question - though the Azure SDK for Python still officially supports Python 2.7, with no concrete deprecation strategy announced yet. So we support 2.7 unless we have a good reason not too (and in some SDKs we're starting to find good reasons). Whether 2.7 is still officially supported by the time this SDK goes GA is still an open question... |
* Credentials accept tenant_id argument to get_token (#19602) * Update changelog for azure-identity 1.7.0b2 (#19693) * [Key Vault] Drop 3.5 support for keys (#19712) * [AutoRelease] t2-compute-2021-07-08-85328 (#19715) * CodeGen from PR 14638 in Azure/azure-rest-api-specs Move RestorePoint properties into new properties bag for restore point (#14638) * version,CHANGELOG * test Co-authored-by: SDKAuto <sdkautomation@microsoft.com> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> * debug_guide for python SDK (#19716) * Increment package version after release of azure-servicebus (#19709) * Increment package version after release of azure-identity (#19721) * Prevent DeprecationWarning in Identity tests (#19723) * move _utils.py (#19431) * move _utils.py * update * [QnA] Initial SDK (#19544) * Template + first code gen * Basic client * First tests * Added async client + tests * Added answerspan test * Added authoring APIs * Some updates * Pure generated clients * Test updates * Update test imports * Clean working recordings * Renamed directory * Removed authoring for now * Use unreleased core * Remove conversation + ci yaml * Some CI updates * update language __init__.py to not have a space in the name * Setup.py * Updated core dependency * CI fixes * Added language nspkg * Fix Python 2.7 * Added some more tests * Test fixes * Added live configuration * Bumped msrest * readme + samples * No pypi or refdocs yet * Review feedback Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> * fix broken rest due to utils movement (#19728) * handle details "null" (#19430) * handle details "null" * update * Bump aiohttp from 3.5.4 to 3.7.4 in /common/smoketest (#19330) Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.5.4 to 3.7.4. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](aio-libs/aiohttp@v3.5.4...v3.7.4) --- updated-dependencies: - dependency-name: aiohttp dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Charles Lowell <chlowe@microsoft.com> Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com> Co-authored-by: Azure CLI Bot <azclibot@microsoft.com> Co-authored-by: SDKAuto <sdkautomation@microsoft.com> Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: annatisch <antisch@microsoft.com> Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* leave stream open in response * update * Get latest main (#19733) * Credentials accept tenant_id argument to get_token (#19602) * Update changelog for azure-identity 1.7.0b2 (#19693) * [Key Vault] Drop 3.5 support for keys (#19712) * [AutoRelease] t2-compute-2021-07-08-85328 (#19715) * CodeGen from PR 14638 in Azure/azure-rest-api-specs Move RestorePoint properties into new properties bag for restore point (#14638) * version,CHANGELOG * test Co-authored-by: SDKAuto <sdkautomation@microsoft.com> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines> * debug_guide for python SDK (#19716) * Increment package version after release of azure-servicebus (#19709) * Increment package version after release of azure-identity (#19721) * Prevent DeprecationWarning in Identity tests (#19723) * move _utils.py (#19431) * move _utils.py * update * [QnA] Initial SDK (#19544) * Template + first code gen * Basic client * First tests * Added async client + tests * Added answerspan test * Added authoring APIs * Some updates * Pure generated clients * Test updates * Update test imports * Clean working recordings * Renamed directory * Removed authoring for now * Use unreleased core * Remove conversation + ci yaml * Some CI updates * update language __init__.py to not have a space in the name * Setup.py * Updated core dependency * CI fixes * Added language nspkg * Fix Python 2.7 * Added some more tests * Test fixes * Added live configuration * Bumped msrest * readme + samples * No pypi or refdocs yet * Review feedback Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> * fix broken rest due to utils movement (#19728) * handle details "null" (#19430) * handle details "null" * update * Bump aiohttp from 3.5.4 to 3.7.4 in /common/smoketest (#19330) Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.5.4 to 3.7.4. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](aio-libs/aiohttp@v3.5.4...v3.7.4) --- updated-dependencies: - dependency-name: aiohttp dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Charles Lowell <chlowe@microsoft.com> Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com> Co-authored-by: Azure CLI Bot <azclibot@microsoft.com> Co-authored-by: SDKAuto <sdkautomation@microsoft.com> Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: annatisch <antisch@microsoft.com> Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Charles Lowell <chlowe@microsoft.com> Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com> Co-authored-by: Azure CLI Bot <azclibot@microsoft.com> Co-authored-by: SDKAuto <sdkautomation@microsoft.com> Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: annatisch <antisch@microsoft.com> Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
No description provided.