Academy · AI in SAP · 300 Professional
RAG for SAP: Document Grounding, SAP HANA Cloud Vector Engine and Answers Over SAP Documentation
Retrieval-augmented generation is how AI answers from your own SAP documentation, runbooks and specs instead of guessing. You'll set up document grounding in the generative AI hub, store and query embeddings in the SAP HANA Cloud vector engine, chunk SAP documents well, prove answer quality with a gold question set, and keep answers within each user's access rights.
- 54 minutes
- 6 lessons + quiz
- BTP & Extension Developer, Solution Architect, Integration Specialist
Start the course
- 01Why RAG: grounding answers in your own SAP documents10 min
- 02Document grounding in the generative AI hub9 min
- 03The SAP HANA Cloud vector engine for custom retrieval9 min
- 04Chunking SAP content and designing metadata8 min
- 05Evaluating retrieval and answer quality9 min
- 06Security and permissions: answers that respect access rights9 min
- QZCourse quiz12 questions
What you’ll be able to do
- Explain retrieval-augmented generation and when it beats fine-tuning
- Ingest documents with the document grounding pipeline or vector API
- Store and query embeddings with the SAP HANA Cloud vector engine
- Design chunking and metadata for SAP specs, runbooks and test evidence
- Evaluate retrieval and answer quality with a question set
- Apply access control so answers respect document permissions
Sources and further reading
- Grounding (generative AI hub in SAP AI Core) · SAP Help Portal
- Pipelines API · SAP Help Portal
- Data Management APIs (rate limits, quotas and input limits) · SAP Help Portal
- Using the Grounding Module · SAP Help Portal
- Retrieval Using SAP Help Portal · SAP Help Portal
- REAL_VECTOR and HALF_VECTOR Data Types (SAP HANA Cloud Vector Engine Guide) · SAP Help Portal
- Using the VECTOR_EMBEDDING Function · SAP Help Portal
- Creating Indexes on REAL_VECTOR and HALF_VECTOR Columns (HNSW) · SAP Help Portal
- Validated Metrics (groundedness and context relevance) · SAP Help Portal
- Enable Document Access Control for Microsoft SharePoint (Joule) · SAP Help Portal
- Orchestration with Grounding Capabilities in SAP AI Core · SAP Developer Center
- Implementing Document Grounding in the Orchestration Service · SAP Learning