Cap Ai Vector Engine Sample banner
SAP-samples SAP-samples

Cap Ai Vector Engine Sample

AI community

Description

This repository contains sample code for a CAP application utilizing the CAP-LLM-Plugin to establish a connection to SAP AI Core and SAP HANA Cloud for creating and storing vector embeddings, perform similarity searches and requesting RAG responses.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

THIS PROJECT IS BEING ARCHIVED. IF YOU WANT TO LEARN MORE ABOUT HOW TO USE THE HANA VECTOR ENGINE HEAD OVER TO: https://github.com/SAP-samples/codejam-cap-llm/tree/main

CAP with SAP HANA Vector Engine & SAP Core AI

[![REUSE status](https://api.reuse.software/badge/github.com/SAP-samples/cap-ai-vector-engine-sample)](https://api.reuse.software/info/github.com/SAP-samples/cap-ai-vector-engine-sample)

Description

This repository contains a code sample on how to build a Cloud Application Programming Model application exposing functionality of SAP AI Core and SAP HANA Cloud Vector Engine using the CAP LLM Plugin. The code also shows how a developer can leverage vector embeddings to provide contextual information to an LLM.

For more information about the end-to-end scenario, take a look at the [architecture documentation](/documentation/architecture.md).

If you want an instructional experience learning about the CAP LLM Plugin, SAP AI Core and SAP Generative AI Hub follow the [Expose capabilities of SAP AI Core with the SAP Cloud Application Programming Model CodeJam](https://github.com/SAP-samples/codejam-cap-llm/tree/main).

Requirements