Giter VIP home page Giter VIP logo

openai-in-a-day's Introduction

OpenAI in a day

In this technical workshop, you will get a comprehensive introduction to OpenAI and Azure OpenAI Studio. You will learn how to create and refine prompts for various scenarios using hands-on exercises. You will also discover how to leverage OpenAI to access and analyze your company data. Moreover, you will explore existing solution accelerators and best practices for prototyping and deploying use cases end-to-end. The workshop will end with a Q&A session and a wrap-up.

Agenda

๐ŸŒ… Morning (9:00 โ€“ 12:00)

Fokus: Introduction and first steps

  • ๐Ÿ“ฃ Intro (90min)
    • Into Workshop (15mins)
    • Intro OpenAI (30mins)
    • Azure OpenAI Studio (45mins)
  • ๐Ÿง‘๐Ÿผโ€๐Ÿ’ป Prompt Engineering Exercises using Studio (90mins)

๐ŸŒ† Afternoon (1:00 โ€“ 4:30)

Fokus: Solutions

  • Recap (15min)
  • ๐Ÿ“ฃ Using OpenAI to access company data (60min)
    • How to bring your own data
    • Fine-tuning and embedding
    • Solutions Accelerators
  • QnA session (30min)
  • ๐Ÿ’ป Hands-on lab on two exemplay use-cases (90min)
๐Ÿ“ฃ Presentation, ๐Ÿง‘๐Ÿผโ€๐Ÿ’ป Hands-on lab

Preparation

This is only required for the hands-on lab. If you are only attending the presentation, you can skip this section.

OpenAI subscription and deployments

Grant the participant access to the OpenAI subscription and create the required deployments.

Ideally, grant the participants access to OpenAI service be assigning the Cognitive Service OpenAI user. If the participant is a Cognitive Service OpenAI contributor, they can create the following deployments themselves.

Otherwise, create 'text-davinci-003' and 'text-embedding-ada-002' deployments (and assign the participant to the deployments).

There are two ways to authenticate (see Jupyter notebooks):

  1. (Recommended) Use the Azure CLI to authenticate to Azure and OpenAI
  2. Using a token (not needed if using the Azure CLI)

Get the OpenAI endpoint (and key) from the Azure portal.

Workspace environment

Choose one of the following options to set up your environment: Codespaces, Devcontainer or bring your own environment (Anaconda). Building the environment can take a few minutes, so please start early.

1๏ธโƒฃ Codespaces

๐ŸŒŸ Highly recommended: Best option if you already have a Github account. You can develop on local VSCode or in a browser window.

  • Go to Github repository and click on Code button
  • Edit the credentials.env file including OpenAI endpoint and key before starting any notebooks

2๏ธโƒฃ Devcontainer

Usually a good option if VSCode and Docker Desktop are already installed.

  • Install Docker
  • Install Visual Studio Code
  • Install Remote - Containers extension
  • Clone this repository
  • Open the repository in Visual Studio Code
  • Click on the green button in the bottom left corner of the window
  • Select Reopen in Container
  • Wait for the container to be built and started
  • Edit credentials.env file including OpenAI endpoint and key before starting any notebooks

3๏ธโƒฃ Bring your own environment

If you already have a Python environment with Jupyter Notebook and the Azure CLI installed.

Make sure you have the requirements installed in your Python environment using pip install -r requirements.txt.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.