Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

Latest commit

 

History

History
49 lines (32 loc) · 2.51 KB

File metadata and controls

49 lines (32 loc) · 2.51 KB

REUSE status

AI269 - Prompt Engineering with SAP Generative AI Hub

Description

This repository contains the material for the SAP TechEd 2023 session called AI269 - Prompt Engineering with SAP Business AI.

Overview

Get hands-on experience and learn how to combine business data with generative AI within the SAP AI Core infrastructure using AI Launchpad. Perform prompt engineering at scale and integrate the results into your workflows. Leverage the power of the new capabilities within SAP AI Core to improve your generative AI-led scenarios.

Requirements

  • AI Core
  • AI Launchpad

Exercises

In this exercise, you will have the opportunity to explore various prompt techniques using the AI Launchpad prompt editor. The first step is to create a deployment for the llm model, which can then be used for prompting. Once the model deployment is set up within the prompt editor, you have the flexibility to modify parameters such as temperature and Max Tokens before sending the prompt request.

Additionally, take advantage of the prompt management feature, which allows you to save your prompts and create versions. This feature enables you to compare responses and make adjustments for better fine-tuning of the prompt. By leveraging prompt management, you can optimize your prompts and enhance the overall performance of the model.

Prompt techniques you will be experiencing are:

  • Text Summarization
  • Question Answering
  • Text Classification - Sentiment Analysis
  • Translation
  • Expansion
  • Tone adjustment
  • Spell-check / Grammar-check
  • Doing multiple tasks at once
  • Few-Shot Prompting
  • Zero-Shot prompting

Exercise 1 - Prompt Engineering

Contributing

Please read the CONTRIBUTING.md to understand the contribution guidelines.

Code of Conduct

Please read the SAP Open Source Code of Conduct.

How to obtain support

Support for the content in this repository is available during the actual time of the online session for which this content has been designed. Otherwise, you may request support via the Issues tab.

License

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.