SampleSampleA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →independently maintainedindependently maintainedPublished 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 generationGrounding 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 YasutakeMaintains this
In the atlas: maintains 47, contributes to 47, wrote 10@miyasutamaintainer
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
As a sample
- Form
- does not say
Connections
Group by
NodeRelationBasis
Functional
Retrieval-augmented generationRetrieval-augmented generationGrounding a model's answer in data retrieved at question timeSAP and community, unassessed
demonstrates
authored
demonstrates Retrieval-augmented generation
Grounding a model's answer in data retrieved at question time
Download
Learn more
Readings
- Using HANA Cloud’s "VECTOR_EMBEDDING" Function in CAPUsing HANA Cloud’s "VECTOR_EMBEDDING" Function in CAPEmbeddings generated inside the database rather than fetched from AI Core or an external model — a Q4 2024 HANA Cloud function, used from CAP. The shift it describes is where the embedding step lives, which changes what has to be deployed and what has to be called.published 2025-03-02Mio Yasutake, SAP Community
Architecture
as mta.yaml states it at 86d3e4a, readDownload
SAP Authorization and Trust Management serviceThe OAuth server behind a BTP application: issues the JWT the app checks, holds the scopes and role collections it checks against, and brokers trust to an identity provider. Bound, never installed.sap official, btp
cap-vector-hc-srv → SAP Authorization and Trust Management serviceStated in the descriptor, authentication, HTTP, outboundValidating the JWT a request carries against the keys XSUAA publishes, and fetching tokens from it.
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
- @cap-js/hana requires SAP HANA Cloudcap-vector-hc-srvconditionalThe database this is the service for: capire's standard database for production, reached with the credentials
cds watchorcds runfetch from the binding at runtime.Using SAP HANA Cloud for Production — capire, Prepare for ProductionThis configures deployment for SAP HANA. The configuration is added to a `[hybrid]` profile in your _package.json_.
Using SAP HANA Cloud for Production — capire, cds deployWith this information, `cds watch`/`run` can fetch the SAP HANA credentials at runtime, so that the server can connect to it.
Databases — capire, overview (the 2 is the page's footnote mark)in production, SAP HANA 2 is used by default
- @sap/xssec requires Cloud Identity Servicescap-vector-hc-srv
Bound in the descriptor, not joined to an entry
hana
README
quoted from miyasuta/cap-vector-hc, readmiyasuta/cap-vector-hc/README.mdthe maintainer’s wordsOn GitHub
CAP VECTOR_EMBEDDING Sample
This project demonstrates how to use the VECTOR_EMBEDDING function in SAP Cloud Application Programming Model (CAP).
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
discovered viaGitHub API · miyasuta
first seen in the atlas
ecosystem and domaincap, ai-and-agents
Flavors
Node.js
“- Node.js and npm installed” — miyasuta/cap-vector-hc — README
History in the atlas
- 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.
- First seen.
For your agent
- Ref
artifact:miyasuta-cap-vector-hc- JSON
- /artifacts/miyasuta-cap-vector-hc.json
- MCP
- Connecting an agent