AzureOpenAIEncoder Objects
__init__
azure_endpoint(str, optional): The endpoint for the Azure OpenAI API. Example:"https://accountname.openai.azure.com"api_version(str, optional): The version of the API to use. Example:"2025-02-01-preview"api_key(str, optional): The API key for the Azure OpenAI API.azure_ad_token(str, optional): The Azure AD/Entra ID token for authentication. https://www.microsoft.com/en-us/security/business/identity-access/microsoft-entra-idstr, optional0 (str, optional1): A callable function that returns an Azure AD/Entra ID token.str, optional2 (str, optional3): Dictionary of options to configure httpx client Example:str, optional4str, optional5 (str, optional): The name of the model deployment to use.str, optional7 (str, optional8): The score threshold for filtering embeddings. Default isstr, optional9."https://accountname.openai.azure.com"0 ("https://accountname.openai.azure.com"1): The number of dimensions for the embeddings. If not given, it defaults to the model’s default setting."https://accountname.openai.azure.com"2 ("https://accountname.openai.azure.com"1): The maximum number of retries for API calls in case of failures. Default is"https://accountname.openai.azure.com"4.
__call__
docs(List[str]): The documents to encode.
List[List[float]]: The embeddings for the documents.
acall
docs(List[str]): The documents to encode.
List[List[float]]: The embeddings for the documents.
