Wednesday, November 3, 2021

#890 OIC and OCI AI Language Service Part II

 Let's look at some of the other apis offered - I start off with language detection - 

Above we see the structure returned by the api - in my example - 2 languages with over 90% probability that the text is in English. The invoke of the api is configured as follows - 

I add logic to parse all language entries returned - 

I then include the language in the response - 

Let's now look at text classification - 

Here is the configuration of the invoke - 

I activate and test with the text = This is my second order for this product, it is a really cool bike

No comments: