GithubHelp home page GithubHelp logo

toddkitta / adventureworkstravel Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 13.0 4.67 MB

Deploys the AdventureWorks Travel app that is part of the Cortana Intelligence Suite Workshop.

C# 7.68% CSS 11.49% ASP 1.75% HTML 2.31% JavaScript 76.78%

adventureworkstravel's People

Contributors

toddkitta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

adventureworkstravel's Issues

ML Base URI Template problem

I was running through the lab, and stumbled when trying to consume the ML web service. The application kept throwing an exception:
"Prediction did not succeed. Check the Settings for mlWorkspaceId, mlServiceId, and mlApiKey."

Each of the settings was correct (checked, checked, and triple checked) so I downloaded the repo and debugged locally to find that the call to the ML service was continuously throwing 401 unauthorized errors.

The problem ended up being that the code is expecting the web service URI to be of this format:
"https://{0}.services.azureml.net/subscriptions/{1}/services/{2}/execute?api-version=2.0&details=true";

But the actual URI was of this format:
"https://{0}.services.azureml.net/workspaces/{1}/services/{2}/execute?api-version=2.0&details=true";

I'm not sure if this was a misstep for me somewhere along the line or not, others in the workshop did not have this issue. Either way, it might be worthwhile to consider changing the /subscriptions/ to be parameterized as well? Or maybe changing the template creation to just ask for the Request-Response URL directly and parse out the portions you need elsewhere?

edit: Just noticed that the URI actually used to be /workspaces/ until commit 827e970. Is it possible I received the old URI because I had signed up with a machine learning account prior to today?

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.