SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

cap-vector-hc

A sample that declares VECTOR_EMBEDDING in a CDS entity: an FAQ model whose embedding column HANA Cloud generates and stores, then answers questions by similarity search.

Facts

Last push

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.
Flavors

Who is behind it

Mio YasutakeMio YasutakePersonMaintains this
In the atlas: maintains 47, contributes to 47, wrote 10
@miyasuta
maintainer

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

As a sample

Form
does not say

Connections1

cap-vector-hc connectionscap-vector-hcPROVIDES→ demonstrates1demonstrates authoredRetrieval-augmented generation

Learn more1

Readings
  1. Using HANA Cloud’s "VECTOR_EMBEDDING" Function in CAPMio Yasutake, SAP Community

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

as mta.yaml states it at 86d3e4a, read
SAP BTP, Cloud Foundry Runtimecap-vector-hcmta.yaml, module cap-vector-hc-srv, requires cap-vector-hc-authbinding, HTTP, outboundSAP Authorization and Trust Management service, xsuaa, applicationSAP Authorizationand TrustManagement servicecap-vector-hc-srv, nodejscap-vector-hc-srvcap-vector-hc-db-deployer, hdbcap-vector-hc-db-dep…hana, hana, hdi-sharedhana
SAPnot SAP's, or the project's ownauthenticationstated in the document

Bound, and not drawn

  • cap-vector-hc-srvhana
  • cap-vector-hc-db-deployerhana

Documented, with no instance in the document

Bound in the descriptor, not joined to an entry

hana

README

quoted from miyasuta/cap-vector-hc, read
miyasuta/cap-vector-hc/README.mdOn GitHub

CAP VECTOR_EMBEDDING Sample

This project demonstrates how to use the VECTOR_EMBEDDING function in SAP Cloud Application Programming Model (CAP).

excerpt, no licence read, read the rest, on GitHub

Details

Sources3
GitHub APIdiscovered here, miyasutachecked
github.com/miyasuta/cap-vector-hctree, 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 viaGitHub API · miyasuta
first seen in the atlas
ecosystem and domaincap, ai-and-agents
Flavors1
Node.js
“- Node.js and npm installed” — miyasuta/cap-vector-hc — READMEchecked
History in the atlas2
  1. The capability moved to a neutral id when it opened to HANA, BTP and ABAP; the concern and this entry's edge to it are unchanged.
  2. First seen.
For your agent
Ref
artifact:miyasuta-cap-vector-hc
JSON
/artifacts/miyasuta-cap-vector-hc.json
MCP
Connecting an agent