Build AI services using the SAP Cloud Application Programming Model, SAP AI Core and SAP generative AI Hub
This repository contains the material for the "Expose SAP AI Core capabilities with the SAP Cloud Application Programming Model" CodeJam.
This CodeJam introduces attendees to aspects of exposing generative artificial intelligence (genAI) capabilities to execute tasks using a given business context.
During this event, you'll become acquainted with the theory behind genAI, SAP AI Core, SAP AI Launchpad, and learn how to use the SAP Cloud Application Programming Model to expose AI capabilities through your own OData service.
While working through the exercises, you'll become comfortable creating CDS-based service definitions and integrating them into the SAP Business Technology Platform (BTP) and SAP AI Core Foundation Models.
Certain prerequisites must be fulfilled before the day of the CodeJam in order to get the most from this CodeJam and be able to work through the exercises.
The prerequisites are detailed in a separate prerequisites file. Please ensure you have everything ready before attending the CodeJam.
These are the exercises, each in their directory, sometimes with supporting files and scripts. We will work through the exercises in the order shown here. From a session flow perspective, we are taking the "coordinated" approach:
- Exercise 01 - Set up your workspace
- Exercise 02 - Use SAP AI Launchpad to deploy a Large Language Model with Generative AI Hub on SAP AI Core
- Exercise 03 - Explore Generative AI Hub in SAP AI Launchpad
- Exercise 04 - Create the SAP AI Core connection configuration
- Exercise 05 - Explore the SAP HANA Cloud Vector Engine
- Exercise 06 - Create the database schema for the CAP application
- Exercise 07 - Create vector embeddings using an embedding model
- Exercise 08 - Define the Job Posting Service
- Exercise 09 - Understand and deploy the orchestration model
- Exercise 10 - Implement the Job Posting Service
- Exercise 11 - Understand data masking, what is anonymization and pseudonymization
The instructor will start you on the first exercise, and that's the only one you should do. You should only proceed to the next exercise once the instructor tells you to.
For this CodeJam you are provided with a subaccount on SAP BTP. The subaccount is only available for the duration of this CodeJam.
If you can spare a couple of minutes at the end of the session, please provide feedback to help us improve next time.
Use this Give feedback link to create a special "feedback" issue, and follow the instructions in there.
Thank you!
- Service integration with SAP Cloud Application Programming Model
- CodeJam - Getting Started with Machine Learning using SAP HANA and Python
- Hands-on with the btp CLI and APIs
- CodeJam - Combine SAP Cloud Application Programming Model with SAP HANA Cloud to Create Full-Stack Applications
- All CodeJams in one list
The exercise content in this repository is based on a sample repository created by the CAP team.
Support for the content in this repository is available during the CodeJam event for which this content has been designed.
Copyright (c) 2023 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0, except as noted otherwise in the LICENSE file.