CAP in the age of AI #6 - vector embeddings
Vector embeddings put to work in the incident managementcapire/incidents-appThe Incident Management reference application — the one SAP's own tutorial paths build, step by step, and the model cds add incidents-sample drops into a project.sap official, cap sample, answering whether this problem has been seen before. An embedding element of type Vector is calculated and stored from the vector_embedding function, so the database refreshes it whenever the text behind it changes, and cosine_similarity compares it with a freshly embedded string; because a title says little, a scheduled action first summarises each incident's conversation through a model on SAP AI CoreSAP AI CoreSAP's AI service on BTP: the runtime for AI assets, and through the Generative AI Hub inside it the access to foundation models, the orchestration service with its templating, masking, filtering and grounding modules, the Prompt Registry and Document Grounding.sap official, btp and the embedding is taken from that summary. The similar-incidents list is a view joining incidents to themselves, with order and limit set in a before handler on the expanded query, and the vector element excluded from the service, since OData knows nothing about vectors — on 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 the function is native, while SQLite needs packages added to the project.
Where it sits
Who is behind it
Developer Advocate
In the atlas: contributes to 20, wrote 22@qmacroJohannes VogtJohannes VogtWrote this
In the atlas: maintains 1, contributes to 28, wrote 10@AkatuoroDaniel SchlachterDaniel SchlachterWrote this
In the atlas: contributes to 10, wrote 9@DanSchlachterauthors
In this series
- 1
- 2
- 3
- 4
- 5
- 6CAP in the age of AI #6 - vector embeddingsyou are here
- 7
Properties
About this work
Details
Graph
Source
History
- Entered the atlasDiscovered via YouTube — SAP Developers playlists.
For your agent
- Ref
content:cap-in-the-age-of-ai-6-vector-embeddings- JSON
- /content/cap-in-the-age-of-ai-6-vector-embeddings.json
- MCP
- Connecting an agent