ruankie / azure-openai-play

Setting up and playing with Azure OpenAI Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub stars GitHub last commit

azure-openai-play

Image generated with DALL.E 3

Description

Easy setup template with basic examples of using Azure's OpenAI Service with the OpenAI API and LangChain

Setup

  1. Set up your virtual env with all the required dependencies
    poetry install
  2. Set your environment variables in a file called .env (see .env.example)
  3. Create a resource and deploy a model using Azure OpenAI

Usage

Note: Whe using notebooks, make sure you activate the correct poetry environment. You can set your Python kernel to the value that gets returned when you run poetry run which python.

  1. Browse the example notebooks in notebooks/

Useful Resources

About

Setting up and playing with Azure OpenAI Service

License:MIT License


Languages

Language:Jupyter Notebook 100.0%