You can set Log level property and Log output property to see messages logged by GeneXusAI.
Cloud providers usually have online demos on their official websites where you can test their services before using them. Also, every cloud provider has a section for pricing then you can compare the convenience of using one provider or another.
Cause: Probably, you are working on GeneXus 16 Release (Upgrade 0). In this version, you can not call an AI task with a local file (e.g. by using Camera.TakePhoto(), PhotoGallery.ChooseImage(), or AudioRecorder.Stop() for Smart Devices, or FileUpload control for Web). This action will produce an error as follows:
Unable to cast object of type 'System.Net.FileWebRequest' to type 'System.Net.HttpWebRequest'
Solution: You must send the local file to the server and use a reference to it. See SAC#44045 for detailed information and solution.
Cause: You did not set your provider service credentials properly, producing a GXAI4000 or GXAI5000 error. For example, if you set your account credentials on IBM Watson (i.e. your username/password) the external provider will raise a GXAI5000 error indicating that your credentials are not valid. Also, if you set username/password for a service when it requires an API Key, the task will raise a GXAI4000 error indicating that your credentials are missing.
Solution: You must provide the credentials given by the provider portal for the specific service you are using (not your access account credentials, neither any type of credentials -- it must be the specific service credentials). Refer to HowTo: Get credentials from a cloud provider for GeneXusAI for more information. In this document, there is a table indicating every service per task, and these services are also specificated on each GeneXusAI task.
Cause: GeneXusAI, in its early versions, uses the default models for each provider and may return different results depending on the language (or other input features).
Solution: There is no solution until the external provider improves their default models or until GeneXusAI provides facilities for adding custom models. If you have doubts about selecting a provider, you can search for an online demo and test them before you use them. For example, if you are testing SentimentAnalysis, KeyPhrases and ExtractEntities tasks of GeneXusAI, you can test the online demo for IBM Natural Language Understanding service or Microsoft Text Analytics service.
Cause: You are providing a local URL (on 'localhost' or '10.0.2.2') that the external provider cannot access (e.g. for sending you a notification once a video has been processed).
Solution: Deploy your application to a server that can be accessed from the Internet in order AI provider can execute the callback to your application, e.g. deploy your app to the cloud, this solution provides an appropriate environment for prototyping it (hosted on apps5.genexus.com or apps6.genexus.com).
Cause: The service you are trying to use requires username/password credentials and this authorization mechanism is not supported on Net Core generator yet.
Solution: Future GeneXus upgrades will fix this problem once Net Core framework allows this type of authorization.