Skip to content

Latest commit

 

History

History
47 lines (42 loc) · 1.92 KB

README.md

File metadata and controls

47 lines (42 loc) · 1.92 KB

Azure OpenAI workshop

This repository is a compilation of useful Azure OpenAI Service resources and code samples to help you get started and accelerate your technology adoption journey.

Get started

1. Prerequisites

  • Azure Account - If you're new to Azure, get an Azure account for free and you'll get some free Azure credits to get started.
  • Azure subscription with access enabled for the Azure OpenAI Service - For more details, see the Azure OpenAI Service documentation on how to get access.
  • Azure Open AI resource - For these samples, you'll need to deploy models like GPT-3.5 Turbo, GPT 4, DALL-E, and Whisper. See the Azure OpenAI Service documentation for more details on deploying models and model availability.
  • In this repo we used GPT-4

2. Setup

  1. Clone the repo
git clone https://github.com/yanivvak/azure-openai-workshop.git
cd azure-openai-workshop
  1. Set up a virtual environment (Preferred)
python -m venv workshop

Once you’ve created a virtual environment, you may activate it.

On Windows, run:

workshop\Scripts\activate

On Unix or MacOS, run:

source workshop/bin/activate

To deactivate :

deactivate

More information about virtual environments can be found here

  1. install requirements
pip install -r requirements.txt
  1. Update credentials

You can setup .env file where you store key information for Azure services, check .env.sample for example.

  • Update the file with your credentials
  • Save it as .env