question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] Language.QuestionAnswering: DeploymentName other than 'production' not supported.

See original GitHub issue

Library name and version

Azure.AI.Language.QuestionAnswering 1.1.0-beta.1

Query/Question

Hi, We are moving from https://www.qnamaker.ai/ to new https://language.cognitive.azure.com/ and we think that can use deploymentName to separate between prod and test environtment but when try to deploy the project using QuestionAnsweringProjectsClient’s DeployProjectAsync with deploymentName = “testing”, there is an error:

Invalid input. See details. Status: 400 (Bad Request) ErrorCode: InvalidArgument

Content:
{
  "error": {
    "code": "InvalidArgument",
    "message": "Invalid input. See details.",
    "details": [
      {
        "code": "ValidationFailure",
        "message": "DeploymentName other than 'production' not supported.",
        "target": "Deploy"
      }
    ]
  }
}

So my question is why DeploymentName only allows ‘production’ as I can’t find any source mentioning this and as far as I remember I can use “testing” as deploymentName previously. If this is the desired behavior then can you please show us how to separate production and testing environment?

Thank you a lot for your support.

Environment

dotnet core 6.0.300 windows 10.0.22000 visual studio 2022 17.0.6

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rokulkacommented, Jul 21, 2022

@tung238 , I misunderstood your query. I thought you were testing the Project using the /:query-knowledgebases API. Actually, there’s no need to deploy your project to “test”, it exists by default. Whenever you add a QnA to the Project, it is added to the “test” deployment. One can only create a new “production” deployment for the Project using the Deploy functionality.

1reaction
heathscommented, Jun 21, 2022

This is more of a service question. @ChongTang can you respond?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - question answering - Azure AI services
The curated list of the most frequently asked questions regarding question ... Does question answering support non-English languages?
Read more >
Manage projects - question answering - Azure AI services
Custom question answering allows you to manage projects by providing access to the project settings and content.
Read more >
Azure Custom Question Answering : Personal Experience
Custom question answering: This allows users to tailor various aspects of their content source, such as editing question and answer pairs, defining synonyms...
Read more >
Programmatically updating answer for an unanswered ...
I have created a custom question answering project using Microsoft Conginitive Services and deployed the same. Now I would like to create an...
Read more >
Top 50 Azure Interview Questions and Answers in 2023
Top 50 Azure Interview Questions You Must Prepare In 2023 · 2. What is cloud computing? · 3. What are the different cloud...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found