Retrieval-augmented generation
In ABAP the data is already in the system and the model is not. The ABAP AI SDKABAP AI SDKSAP's reuse library for calling a large language model from ABAP code, powered by Intelligent Scenario Lifecycle Management and reaching the models in the Generative AI Hub; delivered with SAP BTP ABAP environment, SAP S/4HANA Cloud Public and Private Edition and SAP S/4HANA.sap official, abap reaches a language model through Intelligent Scenario Lifecycle Management, and embeddings and similarity search over ABAP tables are built beside it.
Overview
Present, not yet described.
Not covered: The released classes of the ABAP AI SDKABAP AI SDKSAP's reuse library for calling a large language model from ABAP code, powered by Intelligent Scenario Lifecycle Management and reaching the models in the Generative AI Hub; delivered with SAP BTP ABAP environment, SAP S/4HANA Cloud Public and Private Edition and SAP S/4HANA.sap official, abap send a prompt to a language model and return the completion, and the classes SAP lists for it stop there. None of them stores an embedding or searches for the nearest one, so retrieval over ABAP tables is written beside the SDK.
The completion call is SAP's, and SAP AI CoreSAP AI CoreSAP's AI service on BTP: the runtime for AI assets, and through the Generative AI Hub inside it the access to foundation models, the orchestration service with its templating, masking, filtering and grounding modules, the Prompt Registry and Document Grounding.sap official, btp serves this door with Document Grounding over documents in a connected repository. The ABAP AI SDKABAP AI SDKSAP's reuse library for calling a large language model from ABAP code, powered by Intelligent Scenario Lifecycle Management and reaching the models in the Generative AI Hub; delivered with SAP BTP ABAP environment, SAP S/4HANA Cloud Public and Private Edition and SAP S/4HANA.sap official, abap was checked only through SAP's cheat sheet, not through its help pages.
Retrieval over ABAP tables comes from community code such as zvdbzvdbA vector database implemented entirely in ABAP, which stores quantised vectors and retrieves the document chunks relevant to a prompt by brute-force dot product.independent, abap by Alice V.Alice V.maintains 6 entries, contributed to 12 entries, a vector store written in ABAP that returns the document chunks for a prompt.
Artifacts
Content
Show 2 more
Show 2 more
Details
Coverage
Designs that place it
For your agent
- Ref
capability:retrieval-augmented-generation- JSON
- /capabilities/retrieval-augmented-generation.json
- MCP
- Connecting an agent