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

Are QnaMaker cognitiveservices compatible with a linux service plan ? #9004

Closed
MrLuje opened this issue Apr 5, 2019 · 6 comments
Closed
Assignees
Labels
Cognitive - Mgmt customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-author-feedback More information is needed from author to address the issue. needs-team-attention This issue needs attention from Azure service team or SDK team no-recent-activity There has been no recent activity on this issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.

Comments

@MrLuje
Copy link

MrLuje commented Apr 5, 2019

Describe the bug
A QnaMaker cognitiveservice created on a linux serviceplan cannot be linked to https://qnamaker.ai

image

I used the commands from this post (windows serviceplan version) to create the cognitiveservices/webapp

To Reproduce
The differences with the working example are :

  • is-linux flag on serviceplan
  • "DOTNETCORE|2.1" on webapp
// Create resource group.
az group create --name devexp-qnamaker --location westus

// Create Search instance and get admin key.
// in this example, the key is "B044183F2450193E26751DC20423DFE4"
az search service create -g devexp-qnamaker -n devexp-qnamaker-search --sku standard
az search admin-key show -g devexp-qnamaker --service-name devexp-qnamaker-search

// Create App Service plan and Web App
// in this example, Web App endpoint will be https://devexp-qnamaker-webapp.azurewebsites.net
az appservice plan create -g devexp-qnamaker -n devexp-qnamaker-webapp-plan --is-linux --sku S1
az webapp create -g devexp-qnamaker -n devexp-qnamaker-webapp --plan devexp-qnamaker-webapp-plan --runtime "DOTNETCORE|2.1"

// Configure Web App
az webapp config appsettings set -g devexp-qnamaker -n devexp-qnamaker-webapp --settings 
    AzureSearchName=devexp-qnamaker-search 
    AzureSearchAdminKey=C6109F408309D28DCE72483FE50CAE86 
    PrimaryEndpointKey=devexp-qnamaker-webapp-PrimaryEndpointKey 
    SecondaryEndpointKey=devexp-qnamaker-webapp-SecondaryEndpointKey 
    DefaultAnswer="No good match found in KB." 
    QNAMAKER_EXTENSION_VERSION="latest"
    
az webapp cors add -g devexp-qnamaker -n devexp-qnamaker-webapp -a "*"

// Create QnAMaker account
az cognitiveservices account create -g devexp-qnamaker -n devexp-qnamaker-account --kind QnAMaker --sku S0 --location westus --api-properties qnaRuntimeEndpoint=https://devexp-qnamaker-webapp.azurewebsites.net

All resources are properly created at this point.

Expected behavior
The QnaService should be usable for a KB.
At this point, I'm not really sure if this is a known limitation of the current version of QnaMaker or bug

Environment summary
cf previous steps, commands done from cmd.exe on windows 10

@tjprescott tjprescott added Cognitive Services az cognitiveservices question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Apr 5, 2019
@bsiegel bsiegel added the Service Attention This issue is responsible by Azure service team. label Jun 14, 2019
@esoler-sage
Copy link

I'm interested in this scenario as well. Do you have any information about this?

@haroldrandom haroldrandom added Cognitive Services az cognitiveservices question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team. labels Oct 25, 2019
@kaerm kaerm added Cognitive - Mgmt and removed Cognitive Services az cognitiveservices labels Jun 23, 2020
@ghost
Copy link

ghost commented Jun 23, 2020

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @yangyuan.

@azure-sdk azure-sdk added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Sep 24, 2020
@peterbozso
Copy link

Are there any updates on this? This scenario would be interesting for my customer.

@azure-sdk azure-sdk added the needs-team-attention This issue needs attention from Azure service team or SDK team label Jan 5, 2021
@pravinambekar
Copy link

pravinambekar commented Feb 17, 2021

Are there any updates on configuring Linux based Cognitive Service for QnAMaker ? In my case LinuxFxVersion and Stack is correctly getting configured during deployment but, unable to create knowledgebase through script and throwing error about EndpointKeysError @azure-sdk

@SaurabhSharma-MSFT
Copy link
Member

@pravinambekar Based on the discussion on the other GitHub issue it looks like you are unblocked, and this issue can be resolved. Please let us know.

@SaurabhSharma-MSFT SaurabhSharma-MSFT added the needs-author-feedback More information is needed from author to address the issue. label Feb 11, 2022
@SaurabhSharma-MSFT SaurabhSharma-MSFT self-assigned this Feb 11, 2022
@ghost ghost added the no-recent-activity There has been no recent activity on this issue. label Feb 19, 2022
@ghost
Copy link

ghost commented Feb 19, 2022

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

@ghost ghost closed this as completed Mar 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cognitive - Mgmt customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-author-feedback More information is needed from author to address the issue. needs-team-attention This issue needs attention from Azure service team or SDK team no-recent-activity There has been no recent activity on this issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

10 participants