SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →Starting point

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 Cloud's Vector Engine.

It pairs a CAP backend under api/ with a SAPUI5 frontend under ui/: the backend stores embeddings in SAP HANA Cloud'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

Last pushLicenceApache-2.0

Where it sits

Lives in
Demonstrates
Retrieval-augmented generationCAPRetrieval-augmented generationcapabilityGrounding a model's answer in data retrieved at question time: text split into chunks, each chunk embedded as a vector, and the chunks nearest to the question placed into the prompt. Semantic search is the same retrieval with a person reading the matches, and fine-tuning changes the model's weights, not its input.

Who is behind it

SAP SamplesSAP SamplesOrganisationMaintains this
In the atlas: maintains 222
@SAP-samples
maintainerAdi Pleyer (priv)PersonContributes to this
In the atlas: contributes to 2
@AdiPleyer
Ajinkya PatilPersonContributes to this
In the atlas: contributes to 112
@ajinkyapatil8190
johannagonnzdzPersonContributes to this
In the atlas: contributes to 3
@johannagonnzdz
3 contributors

What it declares

Every artifact

Type
Sample
Origin
By SAP

As a sample

Form
does not say

Connections1

SAP-samples/btp-cap-genai-semantic-search connectionsSAP-samples/btp-cap-genai-semantic-searchPROVIDES→ demonstrates1demonstrates authoredRetrieval-augmented generation

ArchitectureBetaRead from the sample's deployment descriptor. Some of the connections it states are not drawn yet.

as mta.yaml states it at e341f8c, read
SAP BTP, Cloud Foundry Runtimegenai-semantic-search-samplemta.yaml, module genai-semantic-search-sample, requires genai-semantic-search-sample-uaabindingOAuth 2.0, outboundmta.yaml, module genai-semantic-search-sample, requires genai-semantic-search-sample-destinationbinding, outboundmta.yaml, module genai-semantic-search-sample, requires genai-semantic-search-sample-srv-apigenai-semantic-search-sample-srv-apiSAP Authorization and Trust Management service, xsuaa, applicationSAP Authorizationand TrustManagement serviceSAP Destination service, destination, liteSAP Destinationservicegenai-semantic-search-sample, approuter.nodejsgenai-semantic-searc…genai-semantic-search-sample-srv, nodejsgenai-semantic-searc…genai-semantic-search-sample-db-deployer, hdbgenai-semantic-searc…hana, hana, hdi-sharedhana
SAPnot SAP's, or the project's ownauthenticationstated in the document

Bound, and not drawn

Documented, with no instance in the document

Bound in the descriptor, not joined to an entry

hana

README

quoted from SAP-samples/btp-cap-genai-semantic-search under Apache-2.0, read
SAP-samples/btp-cap-genai-semantic-search/README.mdOn GitHub

CAP 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

REUSE status

Diagram

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

  1. Requirements
  2. Setup and Deploy
  3. Data Model
  4. UI Setup
  5. Validation and Testing
  6. Extend

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.

.

Apache-2.0, read

Details

Sources3
Added by handdiscovered herechecked
github.com/SAP-samples/btp-cap-genai-semantic-searchtree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

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
discovered viaAdded by hand
first seen in the atlas
ecosystem and domaincap, ai-and-agents
Contributors3

From the repository’s contributor list, .

History in the atlas1
  1. 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