{"id":20484471,"url":"https://github.com/sap-samples/generative-ai-codejam","last_synced_at":"2025-10-15T13:17:03.767Z","repository":{"id":255205122,"uuid":"791321959","full_name":"SAP-samples/generative-ai-codejam","owner":"SAP-samples","description":"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.","archived":false,"fork":false,"pushed_at":"2025-03-11T07:01:09.000Z","size":50938,"stargazers_count":19,"open_issues_count":3,"forks_count":8,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-27T05:41:38.992Z","etag":null,"topics":["ai","generative","sample","sap-btp","sap-codejam"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SAP-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-24T14:04:39.000Z","updated_at":"2025-03-26T18:24:15.000Z","dependencies_parsed_at":"2024-09-16T13:51:03.769Z","dependency_job_id":"1dc2df7b-ec59-441b-ae73-abeb967747c0","html_url":"https://github.com/SAP-samples/generative-ai-codejam","commit_stats":null,"previous_names":["sap-samples/generative-ai-codejam"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fgenerative-ai-codejam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fgenerative-ai-codejam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fgenerative-ai-codejam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fgenerative-ai-codejam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAP-samples","download_url":"https://codeload.github.com/SAP-samples/generative-ai-codejam/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248731805,"owners_count":21152838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","generative","sample","sap-btp","sap-codejam"],"created_at":"2024-11-15T16:22:44.093Z","updated_at":"2025-10-15T13:17:03.754Z","avatar_url":"https://github.com/SAP-samples.png","language":"Jupyter Notebook","readme":"# CodeJam - Getting started with Generative AI Hub on SAP AI Core\n[![REUSE status](https://api.reuse.software/badge/github.com/SAP-samples/generative-ai-codejam)](https://api.reuse.software/info/github.com/SAP-samples/generative-ai-codejam)\n\n\u003c!--- Register repository https://api.reuse.software/register, then add REUSE badge:\n[![REUSE status](https://api.reuse.software/badge/github.com/SAP-samples/REPO-NAME)](https://api.reuse.software/info/github.com/SAP-samples/REPO-NAME)\n--\u003e\n\n## Description\nThis 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.\n\n## Overview\nIn 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.\n\n## Requirements\n\nThe requirements necessary to complete the exercises in this repository, including hardware and software specifications, are outlined in the [prerequisites](prerequisites.md) file.\n\n### Exercises\n\nYou 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:\n\nThe 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.\n\n00. [Connect SAP AI Core and SAP AI Launchpad](exercises/00-connect-AICore-and-AILaunchpad.md)\n01. [Explore the Prompt Editor in SAP AI Launchpad](exercises/01-explore-genai-hub.md)\n02. [Setup your Python environment](exercises/02-setup-python-environment.md)\n03. [Prompt an LLM](exercises/03-prompt-llm.ipynb)\n04. [Create embeddings for your document chunks](exercises/04-create-embeddings.ipynb)\n05. [Store embeddings](exercises/05-store-embeddings-hana.ipynb)\n06. [Implement the RAG use case](exercises/06-RAG.ipynb)\n07. [Orchestration service S3 grounding (UI)](exercises/07-orchestration-service-UI-S3-grounding.md)\n08. [Orchestration service](exercises/08-orchestration-service.ipynb)\n09. [Orchestration service - grounding](exercises/09-orchestration-service-grounding.ipynb)\n10. [Chatbot with Memory](exercises/10-chatbot-with-memory.ipynb)\n11. [Your Chatbot](exercises/11-your-chatbot.ipynb)\n12. [OPTIONAL: AI Agents](exercises/12-ai-agents.ipynb)\n\n## Feedback\n\nIf you can spare a couple of minutes at the end of the session, please provide feedback to help us improve next time.\n\nUse this [Give feedback](https://github.com/SAP-samples/generative-ai-codejam/issues/new?assignees=\u0026labels=feedback\u0026template=session-feedback-template.md\u0026title=Session%20Feedback) link to create a special \"feedback\" issue, and follow the instructions in there.\n\nThank you!\n\n## Other CodeJams\n\n### CodeJam repositories\n\n* [Service integration with SAP Cloud Application Programming Model](https://github.com/SAP-samples/cap-service-integration-codejam)\n* [CodeJam - Getting Started with Machine Learning using SAP HANA and Python](https://github.com/SAP-samples/hana-ml-py-codejam)\n* [Hands-on with the btp CLI and APIs](https://github.com/SAP-samples/cloud-btp-cli-api-codejam)\n* [CodeJam - Combine SAP Cloud Application Programming Model with SAP HANA Cloud to Create Full-Stack Applications](https://github.com/SAP-samples/cap-hana-exercises-codejam)\n* [All CodeJams in one list](https://github.com/orgs/SAP-samples/repositories?language=\u0026q=Codejam\u0026sort=\u0026type=all)\n\n### CodeJam Community\n\n* [SAP CodeJam Events](https://community.sap.com/t5/sap-codejam/eb-p/codejam-events)\n* [SAP CodeJam Community](https://community.sap.com/t5/sap-codejam/gh-p/code-jam)\n* [SAP CodeJam Discussions](https://community.sap.com/t5/sap-codejam-discussions/bd-p/code-jamforum-board)\n\n## Acknowledgements\n\nThe exercise content in this repository is based on different sample repositories created by the SAP AI Core team. \n\nThe exercises related to the prerequisites and setting up BAS were copied and adjusted from my colleague [Vitaliy's](https://www.linkedin.com/in/witalij/?originalSubdomain=pl) **CodeJam - Getting Started with Machine Learning using SAP HANA and Python**.\n\n\n## How to obtain support\n[Create an issue](https://github.com/SAP-samples/generative-ai-codejam/issues) in this repository if you find a bug or have questions about the content.\n \nFor additional support, [ask a question in SAP Community](https://answers.sap.com/questions/ask.html).\n\n## License\nCopyright (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](LICENSE) file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Fgenerative-ai-codejam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsap-samples%2Fgenerative-ai-codejam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Fgenerative-ai-codejam/lists"}