{ "cells": [ { "cell_type": "markdown", "id": "c3852491", "metadata": {}, "source": [ "# AzureOpenAI\n", "\n", "Let's load the OpenAI Embedding class with environment variables set to indicate to use Azure endpoints." ] }, { "cell_type": "code", "execution_count": null, "id": "1b40f827", "metadata": {}, "outputs": [], "source": [ "# set the environment variables needed for openai package to know to reach out to azure\n", "import os\n", "\n", "os.environ[\"OPENAI_API_TYPE\"] = \"azure\"\n", "os.environ[\"OPENAI_API_BASE\"] = \"https://