AzureOpenAILLM¶
Azure OpenAI LLM implementation running the async API client.
Attributes¶
-
model: the model name to use for the LLM i.e. the name of the Azure deployment.
-
base_url: the base URL to use for the Azure OpenAI API can be set with
AZURE_OPENAI_ENDPOINT. Defaults toNonewhich means that the value set for the environment variableAZURE_OPENAI_ENDPOINTwill be used, orNoneif not set. -
api_key: the API key to authenticate the requests to the Azure OpenAI API. Defaults to
Nonewhich means that the value set for the environment variableAZURE_OPENAI_API_KEYwill be used, orNoneif not set. -
api_version: the API version to use for the Azure OpenAI API. Defaults to
Nonewhich means that the value set for the environment variableOPENAI_API_VERSIONwill be used, orNoneif not set.