SAP-samples/generative-ai-codejam
Sobre
In this SAP CodeJam we will look at the Generative AI Hub and how we can incorporate generative AI into our AI activities in SAP AI Core and SAP AI Launchpad.
IA e aprendizado de máquinaCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalCodeJam - Getting started with Generative AI Hub on SAP AI Core
Description
This repository contains the material for the "Getting started with the Generative AI Hub on SAP AI Core" CodeJam, brought to you by the Developer Advocates at SAP.
Overview
In this CodeJam you will learn how to use Generative AI Hub on SAP AI Core to implement a retrieval augmented generation (RAG) use case to improve the responses of large language models (LLMs) and reduce hallucinations. You will learn how to deploy an LLM on SAP AI Core and query it via SAP AI Launchpad, the orchestration service and the Python SDK. Furthermore, you will learn about the most important genAI concepts and create and use text chunks and embeddings to improve your RAG response.
Requirements
The requirements necessary to complete the exercises in this repository, including hardware and software specifications, are outlined in the prerequisites file.
Exercises
You can find all exercises in the exercises folder. We will work through the exercises in the order shown here. From a session flow perspective, we are taking the "coordinated" approach:
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.
- Connect SAP AI Core and SAP AI Launchpad
- Explore the Prompt Editor in SAP AI Launchpad
- Setup your Python environment
- Prompt an LLM
- Create embeddings for your document chunks
- Store embeddings
- Implement the RAG use case
- Orchestration service S3 grounding (UI)
- Orchestration service
- Orchestration service - grounding
- Chatbot with Memory
- Your Chatbot
- OPTIONAL: AI Agents
Feedback
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!
Other CodeJams
CodeJam repositories
- 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
CodeJam Community
Acknowledgements
The exercise content in this repository is based on different sample repositories created by the SAP AI Core team.
The exercises related to the prerequisites and setting up BAS were copied and adjusted from my colleague Vitaliy's CodeJam - Getting Started with Machine Learning using SAP HANA and Python.
How to obtain support
Create an issue in this repository if you find a bug or have questions about the content.
For additional support, ask a question in SAP Community.
License
Copyright (c) 2024 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.
Explore projetos relacionados
Carregando…