Site icon Modeling reality, generating software

ARTIFICIAL INTELLIGENCE SERVICES IN GENEXUS

In
the previous article I told you about some problems that can be solved using Artificial Intelligence, but consuming them as services, with no need to train models or worry about the algorithms or the architecture of the neural networks to use.

In
this article I will tell you what we are doing to support these services in GeneXus, so that they can be easily used in applications.

Introduction

GeneXus’ mission is to help people develop the best applications in the simplest way possible.

This mission has two aspects which are relevant in the context of this note.

First of all, we want developers to be able to make the best applications possible. Today and in the years to come, the best possible applications will undoubtedly have to incorporate artificial intelligence components. That’s why I think it’s important that GeneXus integrates this feature.

On the other hand, we want this development to be as simple as possible. While Cloud providers –as we said in the previous article– provide artificial intelligence services that are easy to use, each one has its particularities. That’s why we at GeneXus believe that adding AI components is essential, and we have been working on that for some time now, both in terms of research and its current functionality.

What we are doing in GeneXus is defining a common API that can be used to develop applications, no matter which provider is eventually used. This philosophy is part of GeneXus’ philosophy in all its aspects, where the developer can work in the same way regardless of the programming language that is used (C#, Java or .Net Core), which database is used (SQL Server, Oracle, MySQL, PostgreSQL, etc.), or which smart device platform the application will be used on (Android or iOS).

Common API

The GeneXus API provides several services, to which functionality will continue to be added as it becomes available. 

In this article of the GeneXus Community Wiki you can find all the details about this Artificial Intelligence module in GeneXus.

Functions can be grouped into four categories: text, image, audio, and video. 

The text features we plan to include are as follows:

As for images:

The audio functions include:

Lastly, there is a functionality to analyze videos. Video analysis makes it possible to:

Providers

The providers we work with are as follows: Amazon Web Services, IBM Watson, Microsoft Azure Cognitive Services, Google Cloud, Alibaba, Baidu, and Tencent (the last three ones in China).

For GeneXus 17, we’re also planning to include providers which are “local” to smart devices, such as CoreML (iOS) and ML Kit (Android and iOS). 

In addition to using the default models offered by cloud service providers, the GeneXusAI module also includes the possibility of using custom models. That is, models configured and trained to solve a particular problem that cannot be solved with the default models.

These models are consumed through the same API as the rest of the functionality provided, but indicating the custom model data in the provider. This makes it very easy to switch from a default model to a custom model at any time without having to change the programming.

Conclusion

We at GeneXus believe in simplifying the development of applications as much as possible, and to this end we are working with this new artificial intelligence API.

Watch out for the announcements of new features included in GeneXus upgrades before the release of GeneXus 17.

Exit mobile version