Package dev.langchain4j.model.azure
package dev.langchain4j.model.azure
-
ClassDescriptionRepresents an OpenAI language model, hosted on Azure, that has a chat completion interface, such as gpt-3.5-turbo.You can get the latest model names from the Azure OpenAI documentation or by executing the Azure CLI command: az cognitiveservices account list-models --resource-group "$RESOURCE_GROUP" --name "$AI_SERVICE" -o tableRepresents an OpenAI embedding model, hosted on Azure, such as text-embedding-ada-002.Represents an OpenAI image model, hosted on Azure, such as dall-e-3.Represents an OpenAI language model, hosted on Azure, such as gpt-3.5-turbo-instruct.Deprecated, for removal: This API element is subject to removal in a future version.Represents an OpenAI language model, hosted on Azure, that has a chat completion interface, such as gpt-3.5-turbo.Represents an OpenAI language model, hosted on Azure, such as gpt-3.5-turbo-instruct.This class can be used to estimate the cost (in tokens) before calling OpenAI or when using streaming.
AzureOpenAiChatModelName
,AzureOpenAiEmbeddingModelName
,AzureOpenAiImageModelName
andAzureOpenAiLanguageModelName
, instead.