question

DhruvD-3036 avatar image
0 Votes"
DhruvD-3036 asked GiftA-MSFT answered

We are trying to get ‘all entities’ created in LUIS.ai. However, we do get a 200 OK response but it return a blank json

The request is like this:
GET /luis/api/v2.0/apps/<app-id>/versions/0.1/entities HTTP/1.1
Host: westus.api.cognitive.microsoft.com
Cache-Control: no-cache

We tried other Luis APIs and they seem to work. . Only the API for ‘get all entities’ returns blank.

azure-cognitive-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

GiftA-MSFT avatar image
0 Votes"
GiftA-MSFT answered

Thanks for reaching out. It looks like you are missing the entityId. Try using the api reference.

Your request url should look like this:

 https://{endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/entities/{entityId}

Feel free to comment below if you still observe errors. Thanks.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.