SAP AI Services – Gen AI with SAP CAP Plugin – Part 3

SAP AI Services – Gen AI with SAP CAP Plugin – Part 3

In the latest installment after Part 2, we delve into Part 3 of creating a custom plugin in SAP CAP. The blog titled “Reusable components for CAP with cds-plugin” by @daniel_schlachter provides valuable insights into this process.

To kick things off, the first step is to create a baseline and modify the package.json accordingly. Following that, replicating the provided screenshots is essential for visual representation. Annotating my.Recipe is the next task before diving into the magical code inside the cds-plugin.js file.

Moreover, incorporating the secret JSON from default_key.json into the cds.cap_dox_key is crucial for accessing the DOX service. Understanding the APIs from SAP BTP AI services, specifically the Document Information Extraction service, is key. With APIs like /document-information-extraction/v1/schemas and /document-information-extraction/v1/schemas/{schemaId}, users can access schema details on SAP-AI-DOX.

Moving on to the technicalities, cloning the code from the provided git repository is advised for a seamless integration process. Creating a library with custom functions and consuming them in the cds-plugin.js enables users to trigger extractions effectively.

The blog also touches on the customization aspect with custom schema-based extraction in SAP AI Document Information extraction service. Dynamic code snippets are provided for entity mapping, allowing for automatic entity mapping adjustments.

The unofficial CAP plugin for SAP AI-DOX revolutionizes the coding experience in CAP applications, offering flexibility and efficiency. Embracing this plugin can enhance the functionality of CAP applications and provide a seamless integration with Document-Information-Extraction Service instances/keys.

In conclusion, the CAP plugin for SAP AI-DOX opens up new possibilities in coding for CAP applications. Embracing this technology can boost efficiency and streamline the integration process with Document-Information-Extraction services.

spot_img

More from this stream

Recomended

Before AI enters the boardroom, three questions need answers

PRWire

New European guidance puts AI oversight firmly on the board’s agenda. Its practical test begins with the information directors use...

PRWire Press release Distribution Service.

Are Your Days Ending in Stress?! BirdScape.pro Radio May Be Your Answer.

PRWire

Are Your Days Ending in STRESS?! BirdScape.pro Radio Is the Answer: A Calming, Bird-Led Ambient Channel You Can Start Listening...

PRWire Press release Distribution Service.

Oscium Releases Metageek App for Mac users

PRWire

Oscium Releases MetaGeek App for macOS Real-time packet analysis for Wi-Fi 7 networks arrives on the Mac OKLAHOMA CITY, Oklahoma: Oscium...

PRWire Press release Distribution Service.

Arcasa and Uplist Partner to Put $0-Down, Solar-Powered Homebuying on Every Listing

PRWire

Integration surfaces an FHA zero-down financing option — with down payment assistance and solar built in — directly inside Uplist’s...

PRWire Press release Distribution Service.

100,000 Direct IT Jobs everyday

PRWire

ITJobCafe Announces Landmark Expansion: 100,000 Direct IT Jobs Added Daily Atlanta, GA  — September 8, 2026 ITJobCafe, the job board...

PRWire Press release Distribution Service.

More US Babies Are Being Breastfed, but Exclusive Feeding Remains Less Common

PRWire

Breastfeeding rates are rising across the United States, with new CDC figures showing gains in initiation, duration and exclusive breastfeeding among children born in 2023.

PRWire Press release Distribution Service.