Giter Club home page Giter Club logo

mslearn-ai-services's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mslearn-ai-services's Issues

Confusing line in 04 and 03 instructions

I spent some time trying to figure out why the cloned repository did not contain a c# and python folder like 01 and 02.
image

I think that line should be removed for clarity.

BUG - to use the rest interface

Following the docs.

  • Using python i am getting the error ("The Detect Language Operation under Text Analytics API (v3.1) is not supported with the current subscription key and pricing tier OpenAI.S0.)
  • Using C# this one
    StatusCode: 401, ReasonPhrase: 'Access Denied', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
    {
    apim-request-id: 52c36e73-48bb-48ef-b9a0-5e99a5d3e108
    apim-operation-name: Detect+Language
    Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
    X-Content-Type-Options: nosniff
    WWW-Authenticate: AzureApiManagementKey realm="https://xxxxx.openai.azure.com/text/analytics",name="Ocp-Apim-Subscription-Key",type="header"
    Date: Wed, 06 Mar 2024 19:28:16 GMT
    Content-Length: 178
    Content-Type: application/json

Use an Azure AI Services Container - cannot access Azure container

In the Use an Azure AI Services Container lab, I created both an Azure container, and a local docker container.

I'm able to run the CURL command just fine with my localhost container instance, and it returns the languages of the content.

However, when I use the Azure container, I always receive this error: curl: (56) Recv failure: Connection was reset

I've created a second container, and it has the same issue. I've tried access with both IP and FQDN.

Is anyone else aware of this issue and how to resolve it?

Incorrect Curl syntax

In Lab 4, rest-test.sh has an incorrect curl syntax. It should be curl -X POST (as per lab guide), but is currently curl POST, which results in error: curl: (6) Could not resolve host: POST.

Command Typo For 05

image
Should be Create: New Jupyter Notebook. Could lead to issues finding the command.

Doesn't support .net core 8

I'm on OSX using brew to install/maintain dotnet. i.e. brew install dotnet.
However, brew only has 8.0.1 and this code is still on version 7.0.0, which will be out of support by this May.
Since brew doesn't support version 7 (brew install [email protected]), I had to remove net8 and "hard" install net7.
Can this sample be upgraded to version 8 soon?
thanks,
Stuart Ngai.

Variable has been renamed

In lab 02, the .env file has the variable COG_SERVICE_ENDPOINT, but the .py file is reading AI_SERVICE_ENDPOINT. As such it fails with a 'endpoint name must be a string' error. Changing the variable name to AI_SERVICE_ENDPOINT in .env fixes this.

Lab 2 background.png issue

LAB 2 - the C# code has "street.jpg" hardcoded in the code samples that remove the background. when you run the application it will always use that image when writing to background.png unless you change it

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.