Group actions in one request to call custom classification model

Jonas 1 Reputation point
2022-07-19T09:09:17.85+00:00

This example doesn´t work for me: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/customText.js

At Codeline 56 i wrote: const poller = await client.beginAnalyzeActions([text], actions, "de");

All the definitions before are the same, but i got this error:
InvalidTask in AnalyzeInput RestError: InvalidTask in AnalyzeInput

I defined the actions like this:
222173-image.png

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,798 questions
{count} votes