agentsclimarketplace

Sap generative ai

Skill StormShynn/sap-abap-agent/skills/sap-generative-ai

Huong dan Generative AI Hub, Joule, ISLM / prompt template, va goi AI API tu ABAP Cloud (S/4HANA Cloud Public Edition / BTP ABAP). Dung khi user hoi Joule, GenAI Hub, prompt, ISLM, LLM tu ABAP, AI side-by-side tren BTP.From its SKILL.md

Install
npx -y skills add StormShynn/sap-abap-agent --skill sap-generative-ai

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.3 KB, as published. Nobody here has run it

Generative AI Hub / Joule / ISLM — ABAP Cloud

1. Phan biet nhanh

SurfaceVai troKhi dung
JouleDigital assistant SAP (UI)End-user hoi trong Fiori / Launchpad
ISLMIntelligent Scenario Lifecycle Management — prompt / scenario lifecycleQuan ly prompt template, version, ground scenario
Generative AI Hub (BTP)Model gateway (orchestration, grounding)Side-by-side: CAP/Node/Java goi model; ABAP goi qua destination/API
In-app ABAP AI APIsClass/API released tren ABAP Cloud (neu co tren tenant)Logic trong RAP/class goi AI chi qua API released

Nguyen tac Clean Core: uu tien released API / Communication Arrangement / Destination. Khong goi HTTP “tran” toi vendor LLM tu ABAP neu SAP da cung cap Hub/orchestration.

2. Khi nao Joule vs GenAI Hub

  • Joule: UX chat, insights san pham — khong thay the custom RAP logic.
  • GenAI Hub: ban can model cho use-case rieng (tom tat PO, classify ticket, generate text) tu CAP hoac ABAP qua Hub orchestration.
  • ISLM: ban can quan ly prompt template / scenario lifecycle trong landscape SAP (khong hardcode prompt dai trong class).

Neu user hoi “viet skill Joule plugin” — day la product SAP, khong pham vi scaffold ABAP. Neu “goi AI tu ZCL_*” → Hub + destination + released consumer pattern (duoi).

3. Luong goi AI tu ABAP Cloud (khuyen dung)

ABAP Cloud (class / RAP determination)
  → Destination (BTP / Comm. Arrangement)
  → Generative AI Hub orchestration
  → Model response
  → Map vao RAP field / message / outbound event

Checklist:

  1. Xac nhan edition: s4hc_(public) / BTP ABAP — xem sap-deployment-target.
  2. Tao / dung Destination toi GenAI Hub (BTP Cockpit) — sap-btp-setup neu loi auth.
  3. Prompt: uu tien ISLM template (versioned) thay vi string hardcode trong class.
  4. Input: chi gui du lieu can thiet; cam PII/secret trong prompt log.
  5. Output: validate / schema-check truoc khi ghi DB (RAP validation).
  6. Fail-open nghiep vu: AI fail → message ro, khong silent corrupt data.
  7. ATC / security: xem sap-security-review (khong log full prompt co du lieu nhay cam).

4. Side-by-side (CAP) vs in-app

PatternStackGhi chu
Side-by-sideCAP + GenAI Hub SDK / orchestrationScaffold: sap-scaffold-cap; kien truc: sap-cap-consultant-cloud
In-appABAP Cloud + Destination + HubChi dung API/released object tren tenant
Event-drivenRAP event → Mesh → CAP AI workerXem sap-rap-events

5. Prompt / ISLM thuc hanh

  • Mot prompt = mot nhiem vu (classify / summarize / extract) — khong “god prompt”.
  • Dat ten template theo ticket/module (ZMM_PO_SUMMARY_V2).
  • Grounding: uu tien data da authorize (OData/CDS user context), khong dump toan bang.
  • Doi A/B version qua ISLM; ghi version vao log nghiep vu (khong ghi raw prompt neu cam).

6. Released API

Chi liet ke class/API da xac nhan released tren tenant (ADT / Cloudification Repository / sap-docs-research). Neu chua verify: hoi user + tra cuu docs — khong doan ten class.

Cap nhat danh muc chung: sap-released-classes (muc AI — chi khi da verify).

7. Anti-patterns

  • Goi OpenAI/Anthropic truc tiep tu ABAP bang API key hardcode.
  • Bo authorization check vi “AI se loc”.
  • Ghi ket qua AI vao DB khong validation.
  • Dung Joule thay the ATC / unit test / finish evidence.

Cross-links

  • Ket noi BTP / destination: sap-btp-setup
  • Extensibility Clean Core: sap-extensibility
  • Tra cuu Help/Notes: sap-docs-research
  • CAP scaffold: sap-scaffold-cap
  • RAP events toi AI worker: sap-rap-events

Nguon

  • SAP Help: Generative AI Hub, Joule, ISLM
  • SAP Community: ABAP Cloud + GenAI patterns
  • sap-docs-research / MCP mcp-sap-docs-btp khi can URL moi nhat

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.