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

37th Annual PARCA Auxiliary Luncheon & Fashion Show

PRWire

PARCA at the Cape PARCA Auxiliary Hosts 37th Annual Luncheon and Fashion Show, A New England–Inspired Celebration in Hillsborough HILLSBOROUGH,...

PRWire Press release Distribution Service.

Cybertel Bridge and Tait Communications Announce Strategic Partnership for EMEA Region

PRWire

[SEOUL, SOUTH KOREA / CAMBRIDGE, UK] — Cybertel Bridge, a Korea-based manufacturer of 3GPP-compliant MCX solutions and Tait Communications, a...

PRWire Press release Distribution Service.

FINNS Beach Club Goes Global with Live Feature on The Today Show

PRWire

FINNS Beach Club Showcased Internationally on The Today ShowBali, Indonesia  FINNS Beach Club went live across Australia at 8AM on...

PRWire Press release Distribution Service.

The Center for Professional Counseling Celebrates 50 Years of Transforming Lives in Southern California – CIFC

PRWire

NORTH HOLLYWOOD, CA — March 19, 2026 — The Center for Professional Counseling is proud to announce its 50th anniversary,...

PRWire Press release Distribution Service.

Nick Mckenzie Unregulated Power? Questions Raised Over Media Conduct, Economic Impact, and the Need for Journalism Reform in Australia

PRWire

A growing wave of concern is emerging over whether certain forms of modern “investigative journalism” in Australia have crossed the...

PRWire Press release Distribution Service.

Nick McKenzie: Journalists Aren’t Economists — Alleged Unethical Journalism and Why Australia Needs Media Reform

PRWire

Serious concerns are now being raised about what some observers describe as the alleged relentless and wretched targeting of an...

PRWire Press release Distribution Service.