BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

Semantic search in CAP (Node.js): vector embeddings and cosine similarity

Finding the best semantic match for a prompt inside an entity, using local vector embeddings and cosine similarity — and the finding the author leads with is that it works without a vector database at all. Reported as experiments rather than as a pattern, which is the honest register for it: the interesting claim is how little infrastructure the simple case needs.

Where it sits

Explains
Retrieval-augmented generationRetrieval-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.SearchSearchcapabilityFree-text search across an entity and its compositions, pushed into the database rather than filtered in the service. Declared search, database similarity search and filtering in application code are often lumped together.
Source
reachable

Who is behind it

Nico SchoenteichNico SchoenteichPersonWrote this
In the atlas: maintains 3, contributes to 16, wrote 3
@nicoschoenteich
author

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
2,165

What was found on the page

derived
Prose
derived
792 words
Code blocks
derived
5
Repository links
derived
1

More on this24

Group by24 of 24 pieces
Piece, what it offersStill applies
CAP in the age of AI #7 - vector embeddings wrap-up
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, part 7 of 7
nothing recorded
CAP in the age of AI #6 - vector embeddings
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Daniel Schlachter, part 6 of 7
nothing recorded
🟣 Bring AI into Your ABAP Applications with ISLM: Build, Integrate, and Consume AI Natively
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
CAP in the age of AI
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter
nothing recorded
Building an SAP BTP Agent Architecture from Scratch: Python + CAP + HANA
SAP Community, neilaspin
nothing recorded
Understanding Fuzzy Search in SAP Fiori Applications
SAP Community, Ruchi5
nothing recorded
Michael Jackson: AI Cognitive Pipeline on SAP BTP, SAP CAP, ElevenLabs, Claude, HANA DB, Solace
SAP Community, ShahidThe reasoning
nothing recorded
A Use Case for HANA Cloud Knowledge Graph: AI‑Driven Tender Analysis
SAP Community, giacomo_dantonioThe reasoning
nothing recorded
Building a Generative AI-powered Inventory Assistant with SAP CAP, RAG, and Vector Database
SAP Community, furkan5The reasoningRunnable code
nothing recorded
Generative AI on SAP BTP
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
Core changed
Multi-modal RAG Proof of Concept: facilitating tech support
SAP Community, maxlienhardtThe reasoning
nothing recorded
Out-of-the-Box Document Grounding in SAP AI Core: RAG with SAP Help Portal
SAP Community, Joni
nothing recorded
HANA Cloud’s VECTOR EMBEDDING in CAP and Comparison with OpenAI Embedding
SAP Community, lalitmohanThe reasoningA recipeRunnable code
nothing recorded
Using HANA Cloud’s "VECTOR_EMBEDDING" Function in CAP
SAP Community, Mio YasutakeThe reasoningRunnable code
nothing recorded
RAG with SAP HANA Cloud Vector Engine, GenAI Hub & CAP
SAP Community, KevinRThe reasoningA recipeRunnable code
nothing recorded
[Part – 2] Enrich CAP based Services with Behaviors using Annotations
SAP Community, Lukas Schwabe
nothing recorded
Case-insensitive filters in Fiori Elements (List report + CAP)
SAP Community, Kishannaicker
nothing recorded
Improved Search Performance in SAP BTP Core, SAP Cloud Application Programming Model, Node.js Runtime
SAP Community, Arley Triana Morin
nothing recorded
Document Grounding
SAP BTP AI Best Practices, SAPThe reasoningA reference
nothing recorded
Vector RAG vs Graph RAG
SAP BTP AI Best Practices, SAPThe reasoning
nothing recorded
Conversational search for the Cloud Integration capability
SAP TechEd — session catalogue, Vadim KlimovThe reasoning
nothing recorded
Building agentic applications with SAP HANA Cloud
SAP TechEd — session catalogueA recipe
nothing recorded
Quick tip: event/task scheduling in CAP Node.js (in alpha state)
SAP Community, Nico Schoenteich
nothing recorded
SAP Tech Bytes: Using the SAP Approuter at dev time - a full-stack journey with UI5 and CAP
SAP Community, Nico SchoenteichThe reasoningRunnable code
New majors

Details

Graph5 edges
← POINTS HERE
POINTS OUT →
explainsRetrieval-augmented generationcapability, core and community
explainsSearchcapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitycap-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
Ref
content:semantic-search-in-cap-nodejs-vector-embeddings
JSON
/content/semantic-search-in-cap-nodejs-vector-embeddings.json
MCP
Connecting an agent