0
votes

LUIS cognitive programmatic get all intents returns the default 100 intents. I want all the intents to be returned. How can we do that?

3
Would the get version intent list API give you what you need? - Jon

3 Answers

2
votes

Set the take param to 500 to get all items in one time.

take (optional) integer

The number of entries to return. Maximum page size is 500. Default is 100.

So your request will look like the following:

https://[location].api.cognitive.microsoft.com/luis/api/v2.0/apps/{appId}/versions/{versionId}/intents?take=500
0
votes

It only gives you 100 at a time. Did you use the skip and take querystring params?