cap-bp-rag
An event-driven RAG application: Cloud IntegrationCloud IntegrationBuilds and runs integration flows that process, route and map messages between cloud and on-premise systems, SAP and non-SAP, through prebuilt adapters; available only under an SAP Integration Suite plan.sap official, btp embeds a Business Partner event taken off a broker, and the CAP service stores the vector in SAP HANA CloudSAP HANA CloudThe managed database under most of this: CAP's default target, the store Datasphere and Analytics Cloud sit on, and a service with plans and components.sap official, btp and answers questions from it.
Written as a submission to the May 2026 Developer Challenge, so the README carries an architecture diagram and the two flows and no setup steps. Ingestion is split across two systems: Cloud IntegrationCloud IntegrationBuilds and runs integration flows that process, route and map messages between cloud and on-premise systems, SAP and non-SAP, through prebuilt adapters; available only under an SAP Integration Suite plan.sap official, btp takes the event off Solace PubSub+, calls OpenAI for an embedding of the text, and posts it to the CAP service's insert API, so the application itself neither subscribes to the broker nor embeds on write. The CDS entity carries textEmbedding: Vector(1536) beside the business partner's fullData and text, and the service exposes BusinessPartners as insert-only and BusinessPartnerViewer as read-only, both without the embedding column. Retrieval sits in two actions on that service: similaritySearch sorts rows by cosine_similarity against to_real_vector of the query embedding, and ask hands the ten nearest to a gpt-4o-mini completion. The integration flow itself ships as an exported zip under cpi/, so what it does is not readable in the repository.
Facts
Where it sits
Who is behind it
In the atlas: maintains 47, contributes to 47, wrote 10@miyasutamaintainer
Before choosing this
Signals
LicenceNo licenseNeither the package manifest nor the repository tree declares a licence
Without a licence the default is all rights reserved. Ask the maintainer, or check for terms stated elsewhere, before depending on it.
What it declares
Every artifact
- Type
- Sample
- Origin
- Independently maintained
- Use as
- A reference
- Runtime
- Node.js
- Runs on
- Cloud Foundry
As a sample
- Form
- A reference application
Connections
Emitting and consuming business events across systems through brokers
Grounding a model's answer in data retrieved at question time
Builds and runs integration flows between cloud and on premise
Managed SAP HANA database service on BTP
Managed SAP HANA database service on BTP
Download
README
quoted from miyasuta/cap-bp-rag, readcap-bp-rag
This repository is my submission for the May 2026 Developer Challenge — From Events to Intelligence: Building an Event-Driven RAG Application.
It implements an event-driven Retrieval-Augmented Generation (RAG) application built with the SAP Cloud Application Programming Model (CAP), using SAP HANA Cloud's Vector Engine as the vector store and OpenAI for embeddings and answer generation.
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
History in the atlas
- First seen.
For your agent
- Ref
artifact:miyasuta-cap-bp-rag- JSON
- /artifacts/miyasuta-cap-bp-rag.json
- MCP
- Connecting an agent