Git Product home page Git Product logo

Comments (6)

gvizza83 avatar gvizza83 commented on May 27, 2024 1

Thank you for your answer, everything is clearer now.

from cognitive-luis-programmatic.

andreluizsecco avatar andreluizsecco commented on May 27, 2024

Hello, Yes it's possible to use in the S0 tier, but the key that you should use in Cognitive.LUIS.Programmatic is the Authoring Key, read more here: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-concept-keys

from cognitive-luis-programmatic.

gvizza83 avatar gvizza83 commented on May 27, 2024

Yes, I have already read all the existing documentation. But if the key to use is the Authoring Key, where do I have to insert the "subscription key" or "Endpoint Key" in Cognitive.Luis.Programmatic to connect to a "Luis cognitive service" with tier price S0? can you give me an example?

from cognitive-luis-programmatic.

andreluizsecco avatar andreluizsecco commented on May 27, 2024

So maybe you're confusing a bit. This SDK (Cognitive.LUIS.Programmatic) serves to automate tasks that you would do directly in the luis.ai portal, for example: creating intentions, entities, adding new examples, training and publishing your model. In practice, this SDK exists for you to be able to configure, maintain, and improve your model's learning without having to do this manually in the luis.ai portal.

This package (Cognitive.LUIS.Programmatic) only uses the Authoring Key and the usage example can be seen here: https://github.com/andreluizsecco/Cognitive-LUIS-Programmatic/wiki/get-started

I believe you are wanting to make use of the LUIS service (where you send a utterance and it returns the intentions and corresponding entities). This usage is done through an official Microsoft package (in this case for .NET): Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime. It is in this Microsoft package that you will use the Endpoint key.
You can find more about it in the official documentation: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/sdk-csharp-quickstart-query-prediction-endpoint

from cognitive-luis-programmatic.

gvizza83 avatar gvizza83 commented on May 27, 2024

Thanks for the answer, I created an app, which automatically from an excel file with intents and utterance configures a luis App in Luis portal, using cognitive.luis.programmatic. but if I do more than 5 operations per second I have Error 429 (Rate limit is exceeded (requests/second)). I thought that using an endpoint key with the tier price S0, I could solve the problem.

from cognitive-luis-programmatic.

andreluizsecco avatar andreluizsecco commented on May 27, 2024

Oh right, now your doubt has become clearer.
This limit actually exists and is a limit imposed by the APIs provided by Microsoft.
You can make up to 5 requests per second for programmatic APIs, regardless of the price tier your LUIS service is on.
We are working on an enhancement here of this SDK so that we have a Retry feature, but that will be for the next version that will be out soon.

At this time, I recommend put your requests in a queue and implementing it so that your requests do not exceed 5 calls per second.
Unfortunately it is an API limitation, we do not have much to do about it.

from cognitive-luis-programmatic.

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.