SAP-samples/btp-cap-genai-semantic-search
A basic CAP sample that builds a semantic search engine on SAP BTP using Generative AI Hub and 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's Vector Engine.
It pairs a CAP backend under api/ with a SAPUI5 frontend under ui/: the backend stores embeddings 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's Vector Engine and calls Generative AI Hub's models to answer a search query against them. Six numbered tutorials cover requirements, setup and deployment, the data model, the UI, validation and testing, and extending the sample. Its own README calls it a basic sample rather than a production blueprint.
Facts
Where it sits
Who is behind it
In the atlas: maintains 222@SAP-samplesmaintainerAdi Pleyer (priv)Contributes to this
In the atlas: contributes to 2@AdiPleyerAjinkya PatilContributes to this
In the atlas: contributes to 112@ajinkyapatil8190johannagonnzdzContributes to this
In the atlas: contributes to 3@johannagonnzdz3 contributors
What it declares
Every artifact
- Type
- Sample
- Origin
- By SAP
As a sample
- Form
- does not say
Connections
Grounding a model's answer in data retrieved at question time
Download
Architecture
as mta.yaml states it at e341f8c, readDownload
Bound, and not drawn
- genai-semantic-search-sample-srvSAP Authorization and Trust Management service, SAP Destination service, hana
- genai-semantic-search-sample-db-deployerhana
Documented, with no instance in the document
- @sap/approuter requires Cloud Identity Servicesgenai-semantic-search-sampleAuthenticating the user against Identity Authentication instead of, or alongside, SAP Authorization and Trust Management service. Bound to both, the router picks IAS.@sap/approuter 23.0.0 — README, authenticationType
Bound to both services: prefers ias if both authentication services can be used in the current subaccount, determined via BTP security endpoint (may impact response time)
- @sap/approuter requires SAP Connectivity servicegenai-semantic-search-sampleForwarding to an on-premise backend: the binding is required once a destination sets its ProxyType to on-premise.@sap/approuter 23.0.0 — README, destination ProxyType
if ProxyType set to `on-premise`, binding to SAP Cloud Platform connectivity service is required.
- @sap/approuter requires SAP HTML5 Application Repository service for SAP BTPgenai-semantic-search-sampleServing static content from the repository rather than from the router's own folder. Bound, both the files and the xs-app.json routes come from there.@sap/approuter 23.0.0 — README, Integration with HTML5 Application Repository
When the application router interacts with HTML5 Application Repository to serve HTML5 Applications, all static content and routes (xs-app.json) are retrieved from HTML5 Application Repository.
Bound in the descriptor, not joined to an entry
hana
README
quoted from SAP-samples/btp-cap-genai-semantic-search under Apache-2.0, readCAP Application: Semantic Search Integrated with Generative AI Hub and SAP HANA Cloud's Vector Engine
Basic sample for semantic search engine on SAP Business Technology Platform
Description
This project is a basic sample for a semantic search engine built on SAP Business Technology Platform (BTP). It uses the Cloud Application Programming (CAP) model and integrates Generative AI Hub and SAP HANA Cloud’s Vector Engine to offer scalable and powerful search capabilities.
Key Features:
- Semantic search powered by SAP HANA Cloud's Vector Engine.
- Generative AI integration using the Generative AI Hub.
- Modular structure with a CAP backend and SAPUI5 frontend.
Project Structure
api/: Contains backend logic, data models, service definitions, and business logic.ui/: Contains frontend components like views, controllers, and assets using TypeScript and SAPUI5.
Getting Started
How to obtain support
Create an issue in this repository if you find a bug or have questions about the content.
For additional support, ask a question in SAP Community.
Contributing
If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.
License
Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.
.
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
Contributors
History in the atlas
- First seen.
For your agent
- Ref
artifact:sap-samples-btp-cap-genai-semantic-search- JSON
- /artifacts/sap-samples-btp-cap-genai-semantic-search.json
- MCP
- Connecting an agent