File: //home/arjun/.local/lib/python3.10/site-packages/openai/lib/__pycache__/azure.cpython-310.pyc
o
���g\ � @ s� d dl mZ d dlZd dlZd dlmZmZmZmZm Z m
Z
mZmZ d dl
mZmZ d dlZddlmZmZmZmZmZ ddlmZmZ ddlmZmZ dd lmZ dd
lm Z ddl!m"Z"m#Z# ddl$m%Z% dd
l&m'Z'm(Z( e)g d��Z*e g e+f Z,e g df Z-edeej.ej/f d�Z0edee"e e#e f d�Z1d�2g d��Z3G dd� de%�Z4G dd� de(e0e1f �Z5G dd� de5ej.e"e f e�Z6G dd� de5ej/e#e f e�Z7dS )� )�annotationsN)�Any�Union�Mapping�TypeVar�Callable� Awaitable�cast�overload)�Self�override� )� NOT_GIVEN�Omit�Query�Timeout�NotGiven)�is_given�
is_mapping)�OpenAI�AsyncOpenAI)�
model_copy)�FinalRequestOptions)�Stream�AsyncStream)�OpenAIError)�DEFAULT_MAX_RETRIES�
BaseClient)z/completionsz/chat/completionsz/embeddingsz/audio/transcriptionsz/audio/translationsz
/audio/speechz/images/generationszstr | Awaitable[str]�
_HttpxClientT)�bound�_DefaultStreamT� )�<zmissing API key�>c s e Zd Zd� fdd�Z� ZS )�MutuallyExclusiveAuthError�return�Nonec s t � �d� d S )Nz�The `api_key`, `azure_ad_token` and `azure_ad_token_provider` arguments are mutually exclusive; Only one can be passed at a time)�super�__init__)�self�� __class__� �C/home/arjun/.local/lib/python3.10/site-packages/openai/lib/azure.pyr( - s �z#MutuallyExclusiveAuthError.__init__)r% r&