Skip to content

SAP-samples/teched2024-AI180

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AI180 - Build your own generative AI scenario in a Snap

Description

This repository contains the material for the SAP TechEd 2024 session "AI180 - Build your own generative AI scenario in a Snap".

Overview

This session introduces you to integrating orchestration capabilities of Generative AI Hub, SAP AI Core, into your own scenarios using SAP Cloud SDK for AI (JavaScript) or SAP generative AI hub SDK (Python). Accordingly, this session offers two parallel tracks:

Both tracks cover identical core concepts and practical applications, differing only in the programming language and SDK utilized. You may choose the track that best aligns with your expertise or technology stack. You may also opt to experience both tracks to broaden your understanding.

By the end of this session, you will have gained practical experience in leveraging these powerful SDKs to enhance your AI-driven solutions, regardless of your chosen programming environment. Join the session to unlock the full potential of Generative AI in your projects and stay at the forefront of AI integration.

Important

  • As part of this Jump Start session, we are offering free access to limited number of hands-on test systems, for limited duration.
  • To receive your test system, you must follow the below outlined process for submitting a request.

Warning

Disclaimer

While requesting for access to hands-on test systems, note the following terms:

  1. Single Request Policy: Please submit only one request per individual. Submitting requests on behalf of others is strictly prohibited.
  2. Limited Availability: Access to the test system is limited to the first 100 applications only. Requests submitted before the start of our session, AI180, will not be considered to ensure fairness. If you are not among the first 100 applicants, you may not receive a test system.
  3. Email Notification: If approved, you will receive system access details via email within 24 hours.
  4. System Duration: The test system will be disabled at 17:00 CEST on Wed, Oct 16 Oct 23 (updated).
  5. Token and Rate Limits: Each large language model (LLM) used in the exercises has a fixed input and output token limit (smaller than the limit available in production scenarios). In addition, there is a global rate limit per minute for number of requests made.
  6. Testing/Learning Purposes Only: The test system is intended solely for testing or learning purposes and not for any productive or commercial use.
  7. Malicious Usage: Any detection of malicious usage will result in immediate termination of your test system access. Depending on the severity of the abuse, legal action may be pursued. An example of malicious behavior includes repeatedly hitting the rate limit every minute, for more than 8 hours a day.
  8. Available Models: We currently offer two large language models for testing: gemini-1.5-flash and meta-llama3-70b-instruct.
  9. Feature Changes: Do not make any business decisions on the contents of this exercise. SAP reserves the right to change or deprecate any feature of the Orchestration Service in future, without any prior notifiation.

Tip

Based on the number of hands-on testing requests and system usage, we may be able to grant access to additional applicants and extend the testing duration. In such cases, we will update this README accordingly, and early applicants on the waiting list will receive access details via email.

Note

If you have your own AI Core instances for consuming Generative AI Hub capabilities, you can follow this tutorial using those instances. Please make the following adjustments:

  • You need to create a deployment for orchestration by referring the documentation.
  • Before beginning the exercises, you’ll need to provide system information. Instead of using the hands-on test system provided for this tutorial, use your own AI Core instance details, such as the AI Core client ID, secret, and authentication URL.
  • If you’re running your application on BTP rather than locally, the SDKs will automatically retrieve your AI Core instance information from the VCAP_SERVICES environment variable.

How to Start

  1. Apply for the Test Systems:
    • Use this template, fill in your information and send it to teched.2024.ai180.registration.bot@sap.com.
  2. Clone the Repository:
    • Clone the repository using your preferred Git client. If you’re using the Git command line interface, run the following command:
git clone https://github.com/SAP-samples/teched2024-AI180.git
  1. Select Your Programming Language:

Template for Requesting the Test System

Email Subject: 
[TechEd 2024 AI180] Request: Access to Test System

Email Body:
- Name: <Your-Name>
- Company: <Your-Company-Name>
- Business Email Address: <Your-Business-Email-Address>

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) 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.