In today’s world, users expect their applications to smartly reduce their manual effort and help them complete their tasks quickly.
And enterprise applications are no exception. Imagine looking at a huge, blank form that you must fill out to complete a mundane but mandatory task at the office. You can practically feel the energy drain out of your body as the form stares back at you. Suddenly, a coffee break looks enticing 🙂
But what if your application could generate recommendations based on the data available in the system, and dramatically cut your effort to just eyeballing the correctness of most of the fields, only requiring you to fill in a few?
While this may be on every user’s wish list, implementing these AI-driven smart features in existing (or even new) applications can require a lot of development effort.
At SAP Cloud Application Programming (CAP), we believe in reducing boilerplate code and letting developers focus on intent. Hence, in the April release of CAP, we have released the SAP CAP AI plugin for node.js. (Watch this space for the Java version, which will be released soon).
This plugin will enable existing and new CAP applications to use recommendations generated by the RPT-1 Generative AI model provided by SAP AI Core. The recommendations will then be pre-filled in the UI of the application. All this is out-of-the-box, without writing a single line of code.
The CAP AI plugin does three main things:
- Simplifies AI Core configuration
- Provide recommendations on the UI coming from RPT-1
- Inherits the best of CAP
Simplifying AI Core configuration –
Admin tasks such as creating a new SAP AI Core resource group per tenant and creating an RPT-1 deployment are automated using the “AICore” service created by the plugin.
Recommendations in the UI application –
Any entity with a value help (@Common.ValueList on the property or @CDS.odata.valuelist on the association target) will be used by the plugin to show the recommendations.
The best of CAP
All the battle-tested enterprise readiness of CAP is inherently part of the plugin. It also supports multi-tenancy, and local testing without an SAP AI Core instance.
You can read more about the plugin here – https://github.com/cap-js/ai
We are excited to have you try out this plugin. If you have any feature requests or suggestions, please feel free to reach out to us.
Till then, happy coding!



