Comments (6)
Thank you for your answer, everything is clearer now.
from cognitive-luis-programmatic.
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.
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.
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.
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.
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)
- Base URL is hardcoded and useless to Europe/Australia
- NullReferenceException on a new client creation. HOT 7
- [Question] Retrieving an Intent HOT 2
- [Question] Force training and publish HOT 4
- Implement "skip" and "take" parameters for GetAll methods HOT 3
- Resource to get final status of the training request sent HOT 1
- does GetAllEntitiesAsync work? HOT 4
- Adds a batch of labeled examples to the app HOT 1
- Implement resource to delete example labels HOT 1
- Implement resource to review labeled examples HOT 1
- Rename "Location" enum to "Regions" HOT 1
- Verify if "exception.Error" is null before getting "exception.Error.StatusCode" HOT 9
- IntentService.GetAllIntentsAsync missing pagination HOT 1
- Feature: Support versions endpoint HOT 2
- [Discussion] Changing Namespaces
- [New Feature] Clone version
- [New Feature] Update application settings
- [New Feature] Update publish settings
- Improve unit tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cognitive-luis-programmatic.