GithubHelp home page GithubHelp logo

Comments (9)

lauren-mills avatar lauren-mills commented on May 26, 2024 1

@pravinambekar, can you try uninstalling the bf CLI using npm uninstall @microsoft/botframework-cli -g, then reinstalling with npm i @microsoft/botframework-cli -g? Looks like something is wrong with your CLI installation

from botframework-solutions.

lauren-mills avatar lauren-mills commented on May 26, 2024 1

Hi @pravinambekar, after looking into this, you are no longer able to create new qna maker services that use the v5.0-preview. Only existing QnA Services made with the preview flag continue working. So you will not be able to use the VA scripts to create a qna service with the 5.0 preview features.

Qna Maker has been combined with other cognitive services in a single Azure resource going forward. If you want to migrate to that solution to utilize whatever features you are looking for from Qna Maker beyond what is currently supported in QnA v4.0 used in VA, you will need to make those changes yourself. The Virtual Assistant template and solution will not be receiving future updates to support this due to our focus on other product areas.

If you would like to read more about the new direction of QnA Maker, here is their team's new documentation: https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/question-answering/overview

from botframework-solutions.

munozemilio avatar munozemilio commented on May 26, 2024 1

Closing this due to inactivity. @pravinambekar feel free to reopen if the issue is not solved.

from botframework-solutions.

pravinambekar avatar pravinambekar commented on May 26, 2024

@pravinambekar, can you try uninstalling the bf CLI using npm uninstall @microsoft/botframework-cli -g, then reinstalling with npm i @microsoft/botframework-cli -g? Looks like something is wrong with your CLI installation

Hello @lauren-mills , Hello @mrivera-ms ,
As suggested I have re installed bot framework CLI and botskills package, the earlier error seems to have gone but i am still not able to create KB , giving same error (can be seen in the screen shot below)
image

I have also checked deployment log files and no error recorded in the log information
image

You can see below screenshot just to confirm that services are getting created correctly
image

I really failed to understand why KB is not getting created although same set up worked earlier under same subscription,
on top of that there is no trace to check what causing the error.
PS: the current version for qnamaker service being used is : cognitiveservices.azure.com/qnamaker/v5.0-preview.2 and app service plan is on Linux kind (same as earlier)
Any help is highly appreciated .

from botframework-solutions.

lauren-mills avatar lauren-mills commented on May 26, 2024

Just to confirm, there's nothing in your update_cognitive_models_log.txt file right?

Also, can you send the command you're using with any names/keys redacted?

from botframework-solutions.

pravinambekar avatar pravinambekar commented on May 26, 2024

Just to confirm, there's nothing in your update_cognitive_models_log.txt file right?

Also, can you send the command you're using with any names/keys redacted?

Hello @lauren-mills

Apparently there was no update_cognitive_models_log.txt exist in the folder, i have even created new VA template but it was not there too,
I manually have tried creating file with this name, but no log recorded.

Talking about commands i edited / customized are mostly about LUIS, COSMOS DB
I have customized template to skip LUIS and cosmos DB configuration , and necessary script block has been commented.

from botframework-solutions.

lauren-mills avatar lauren-mills commented on May 26, 2024

Apologies, I meant to ask for the deploy_cognitive_models_log.txt.

Also, if you've removed the Luis setup that maybe causing you some issues with the dispatch model, since it is a Luis model underneath.

Can you check that log file above, and also send your modified scripts for me to take a look at?

from botframework-solutions.

pravinambekar avatar pravinambekar commented on May 26, 2024

Apologies, I meant to ask for the deploy_cognitive_models_log.txt.

Also, if you've removed the Luis setup that maybe causing you some issues with the dispatch model, since it is a Luis model underneath.

Can you check that log file above, and also send your modified scripts for me to take a look at?

Hello @lauren-mills ,

Yes, have attached deploy ps script and also template for your reference, i also have checked deploy cognitive log file and it has nothing as such

Hope this helps you to understand what's wrong with script and/or template,
Few things just in case you need:

  1. I am using $qnaEndpoint = "https://westus.api.cognitive.microsoft.com/qnamaker/v5.0-preview.2" in deploy script
  2. An additional service has been added in the template for an angular application along with bot services (just not to confuse with other services)
  3. LUIS part in template and in deploy ps script has commented
  4. COSMOS db create is disabled.
  5. .qna files are being used for kb creation (same as standard VA template, no change in the files)
  6. Deployment procedure is same as mentioned in document : https://microsoft.github.io/botframework-solutions/virtual-assistant/tutorials/create-assistant/csharp/4-provision-your-azure-resources/

Let me know if any additional information is required to reproduce the issue.

Thank you.

deploy.txt
template.txt

from botframework-solutions.

pravinambekar avatar pravinambekar commented on May 26, 2024

Apologies, I meant to ask for the deploy_cognitive_models_log.txt.
Also, if you've removed the Luis setup that maybe causing you some issues with the dispatch model, since it is a Luis model underneath.
Can you check that log file above, and also send your modified scripts for me to take a look at?

Hello @lauren-mills ,

Yes, have attached deploy ps script and also template for your reference, i also have checked deploy cognitive log file and it has nothing as such

Hope this helps you to understand what's wrong with script and/or template, Few things just in case you need:

  1. I am using $qnaEndpoint = "https://westus.api.cognitive.microsoft.com/qnamaker/v5.0-preview.2" in deploy script
  2. An additional service has been added in the template for an angular application along with bot services (just not to confuse with other services)
  3. LUIS part in template and in deploy ps script has commented
  4. COSMOS db create is disabled.
  5. .qna files are being used for kb creation (same as standard VA template, no change in the files)
  6. Deployment procedure is same as mentioned in document : https://microsoft.github.io/botframework-solutions/virtual-assistant/tutorials/create-assistant/csharp/4-provision-your-azure-resources/

Let me know if any additional information is required to reproduce the issue.

Thank you.

deploy.txt template.txt

Update: I was just checking all the services created and tried to create KB manually in qnamaker portal, though it is also giving same No Endpoint keys found error, i am afraid that the script executed to provision resources might have some mis-configuration related to cognitive service endpoint, and in console it returns 401 saying Access denied due to invalid subscription key or wrong API endpoint in qnamaker portal browser console
just a thought , but it is what it was earlier, so unable to trace down further.

from botframework-solutions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.