Index

A B C D E F G K L M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

apiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Sets the Azure OpenAI API key.
apiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Sets the Azure OpenAI API key.
apiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the Azure OpenAI API key.
apiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Sets the Azure OpenAI API key.
apiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Sets the Azure OpenAI API key.
apiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Sets the Azure OpenAI API key.
AzureOpenAiChatModel - Class in dev.langchain4j.model.azure
Represents an OpenAI language model, hosted on Azure, that has a chat completion interface, such as gpt-3.5-turbo.
AzureOpenAiChatModel(OpenAIClient, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
AzureOpenAiChatModel(String, String, KeyCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, Duration, Integer, ProxyOptions, boolean, List<ChatModelListener>, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
AzureOpenAiChatModel(String, String, TokenCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, Duration, Integer, ProxyOptions, boolean, List<ChatModelListener>, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
AzureOpenAiChatModel(String, String, String, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, Duration, Integer, ProxyOptions, boolean, List<ChatModelListener>, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
AzureOpenAiChatModel.Builder - Class in dev.langchain4j.model.azure
 
AzureOpenAiChatModelBuilderFactory - Interface in dev.langchain4j.model.azure.spi
A factory for building AzureOpenAiChatModel.Builder instances.
AzureOpenAiChatModelName - Enum in dev.langchain4j.model.azure
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 table
AzureOpenAiEmbeddingModel - Class in dev.langchain4j.model.azure
Represents an OpenAI embedding model, hosted on Azure, such as text-embedding-ada-002.
AzureOpenAiEmbeddingModel(String, String, KeyCredential, String, Tokenizer, Duration, Integer, ProxyOptions, boolean, String, Integer, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
AzureOpenAiEmbeddingModel(String, String, TokenCredential, String, Tokenizer, Duration, Integer, ProxyOptions, boolean, String, Integer, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
AzureOpenAiEmbeddingModel(String, String, String, String, Tokenizer, Duration, Integer, ProxyOptions, boolean, String, Integer, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
AzureOpenAiEmbeddingModel.Builder - Class in dev.langchain4j.model.azure
 
AzureOpenAiEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.azure.spi
A factory for building AzureOpenAiEmbeddingModel.Builder instances.
AzureOpenAiEmbeddingModelName - Enum in dev.langchain4j.model.azure
 
AzureOpenAiImageModel - Class in dev.langchain4j.model.azure
Represents an OpenAI image model, hosted on Azure, such as dall-e-3.
AzureOpenAiImageModel(OpenAIClient, String, String, String, String, String, String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
AzureOpenAiImageModel(String, String, KeyCredential, String, String, String, String, String, String, Duration, Integer, ProxyOptions, boolean, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
AzureOpenAiImageModel(String, String, TokenCredential, String, String, String, String, String, String, Duration, Integer, ProxyOptions, boolean, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
AzureOpenAiImageModel(String, String, String, String, String, String, String, String, String, Duration, Integer, ProxyOptions, boolean, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
AzureOpenAiImageModel.Builder - Class in dev.langchain4j.model.azure
 
AzureOpenAiImageModelBuilderFactory - Interface in dev.langchain4j.model.azure.spi
A factory for building AzureOpenAiImageModel.Builder instances.
AzureOpenAiImageModelName - Enum in dev.langchain4j.model.azure
 
AzureOpenAiLanguageModel - Class in dev.langchain4j.model.azure
Represents an OpenAI language model, hosted on Azure, such as gpt-3.5-turbo-instruct.
AzureOpenAiLanguageModel(OpenAIClient, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Integer) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
AzureOpenAiLanguageModel(String, String, KeyCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Integer, Duration, Integer, ProxyOptions, boolean, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
AzureOpenAiLanguageModel(String, String, TokenCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Integer, Duration, Integer, ProxyOptions, boolean, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
AzureOpenAiLanguageModel(String, String, String, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Integer, Duration, Integer, ProxyOptions, boolean, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
AzureOpenAiLanguageModel.Builder - Class in dev.langchain4j.model.azure
 
AzureOpenAiLanguageModelBuilderFactory - Interface in dev.langchain4j.model.azure.spi
A factory for building AzureOpenAiLanguageModel.Builder instances.
AzureOpenAiLanguageModelName - Enum in dev.langchain4j.model.azure
 
AzureOpenAiModelName - Class in dev.langchain4j.model.azure
AzureOpenAiModelName() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
AzureOpenAiStreamingChatModel - Class in dev.langchain4j.model.azure
Represents an OpenAI language model, hosted on Azure, that has a chat completion interface, such as gpt-3.5-turbo.
AzureOpenAiStreamingChatModel(OpenAIClient, OpenAIAsyncClient, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, List<ChatModelListener>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
AzureOpenAiStreamingChatModel(String, String, KeyCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, Duration, Integer, ProxyOptions, boolean, boolean, List<ChatModelListener>, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
AzureOpenAiStreamingChatModel(String, String, TokenCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, Duration, Integer, ProxyOptions, boolean, boolean, List<ChatModelListener>, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
AzureOpenAiStreamingChatModel(String, String, String, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, List<String>, Double, Double, List<AzureChatExtensionConfiguration>, AzureChatEnhancementConfiguration, Long, ChatCompletionsResponseFormat, Duration, Integer, ProxyOptions, boolean, boolean, List<ChatModelListener>, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
AzureOpenAiStreamingChatModel.Builder - Class in dev.langchain4j.model.azure
 
AzureOpenAiStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.azure.spi
A factory for building AzureOpenAiStreamingChatModel.Builder instances.
AzureOpenAiStreamingLanguageModel - Class in dev.langchain4j.model.azure
Represents an OpenAI language model, hosted on Azure, such as gpt-3.5-turbo-instruct.
AzureOpenAiStreamingLanguageModel(OpenAIClient, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
AzureOpenAiStreamingLanguageModel(String, String, KeyCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Duration, Integer, ProxyOptions, boolean, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
AzureOpenAiStreamingLanguageModel(String, String, TokenCredential, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Duration, Integer, ProxyOptions, boolean, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
AzureOpenAiStreamingLanguageModel(String, String, String, String, Tokenizer, Integer, Double, Double, Map<String, Integer>, String, Integer, Integer, Boolean, List<String>, Double, Double, Duration, Integer, ProxyOptions, boolean, String, Map<String, String>) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
AzureOpenAiStreamingLanguageModel.Builder - Class in dev.langchain4j.model.azure
 
AzureOpenAiStreamingLanguageModelBuilderFactory - Interface in dev.langchain4j.model.azure.spi
A factory for building AzureOpenAiStreamingLanguageModel.Builder instances.
AzureOpenAiTokenizer - Class in dev.langchain4j.model.azure
This class can be used to estimate the cost (in tokens) before calling OpenAI or when using streaming.
AzureOpenAiTokenizer() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenizer
Creates an instance of the AzureOpenAiTokenizer for the "gpt-3.5-turbo" model.
AzureOpenAiTokenizer(AzureOpenAiChatModelName) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenizer
Creates an instance of the AzureOpenAiTokenizer for a given AzureOpenAiChatModelName.
AzureOpenAiTokenizer(AzureOpenAiEmbeddingModelName) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenizer
Creates an instance of the AzureOpenAiTokenizer for a given AzureOpenAiEmbeddingModelName.
AzureOpenAiTokenizer(AzureOpenAiLanguageModelName) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenizer
Creates an instance of the AzureOpenAiTokenizer for a given AzureOpenAiLanguageModelName.
AzureOpenAiTokenizer(String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenizer
Creates an instance of the AzureOpenAiTokenizer for a given model name.

B

bestOf(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
build() - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
build() - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
build() - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
build() - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
build() - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
build() - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
builder() - Static method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
builder() - Static method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
builder() - Static method in class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
builder() - Static method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
builder() - Static method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
builder() - Static method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
Builder() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
Builder() - Constructor for class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 

C

customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 

D

DALL_E_3 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiImageModelName
 
DALL_E_3 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
DALL_E_3_30 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiImageModelName
 
dataSources(List<AzureChatExtensionConfiguration>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
dataSources(List<AzureChatExtensionConfiguration>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
decode(List<Integer>) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
deploymentName(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Sets the deployment name in Azure OpenAI.
deploymentName(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Sets the deployment name in Azure OpenAI.
deploymentName(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the deployment name in Azure OpenAI.
deploymentName(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Sets the deployment name in Azure OpenAI.
deploymentName(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Sets the deployment name in Azure OpenAI.
deploymentName(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Sets the deployment name in Azure OpenAI.
dev.langchain4j.model.azure - package dev.langchain4j.model.azure
 
dev.langchain4j.model.azure.spi - package dev.langchain4j.model.azure.spi
 
dimension() - Method in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
dimensions(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 

E

echo(Boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
echo(Boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
Embeds the provided text segments, processing a maximum of 16 segments at a time.
encode(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
encode(String, int) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
endpoint(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Sets the Azure OpenAI endpoint.
endpoint(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Sets the Azure OpenAI endpoint.
endpoint(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the Azure OpenAI endpoint.
endpoint(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Sets the Azure OpenAI endpoint.
endpoint(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Sets the Azure OpenAI endpoint.
endpoint(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Sets the Azure OpenAI endpoint.
enhancements(AzureChatEnhancementConfiguration) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
enhancements(AzureChatEnhancementConfiguration) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
estimateTokenCount(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
estimateTokenCount(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
estimateTokenCount(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
estimateTokenCount(List<ChatMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
estimateTokenCount(List<ChatMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
estimateTokenCountInForcefulToolExecutionRequest(ToolExecutionRequest) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
estimateTokenCountInForcefulToolSpecification(ToolSpecification) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
estimateTokenCountInMessage(ChatMessage) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
estimateTokenCountInMessages(Iterable<ChatMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
estimateTokenCountInText(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
estimateTokenCountInToolExecutionRequests(Iterable<ToolExecutionRequest>) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 
estimateTokenCountInToolSpecifications(Iterable<ToolSpecification>) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenizer
 

F

frequencyPenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
frequencyPenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
frequencyPenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
frequencyPenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 

G

generate(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel
 
generate(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel
 
generate(String, StreamingResponseHandler<String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel
 
generate(List<ChatMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
 
generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
 
GPT_3_5_TURBO - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_3_5_TURBO - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_0125 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_0301 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_3_5_TURBO_0613 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_3_5_TURBO_0613 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_1106 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_3_5_TURBO_1106 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_16K - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_3_5_TURBO_16K - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_16K_0613 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_3_5_TURBO_16K_0613 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_INSTRUCT - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
GPT_3_5_TURBO_INSTRUCT - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_3_5_TURBO_INSTRUCT_0914 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
GPT_4 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_0125_PREVIEW - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_0125_PREVIEW - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_0613 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_0613 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_1106_PREVIEW - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_1106_PREVIEW - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_32K - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_32K - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_32K_0613 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_32K_0613 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_O - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_O - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_TURBO - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_TURBO - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_TURBO_2024_04_09 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_TURBO_2024_04_09 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
GPT_4_VISION_PREVIEW - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
GPT_4_VISION_PREVIEW - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 

K

knownDimension() - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
 
knownDimension(String) - Static method in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 

L

listeners(List<ChatModelListener>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
listeners(List<ChatModelListener>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
logitBias(Map<String, Integer>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
logitBias(Map<String, Integer>) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
logitBias(Map<String, Integer>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
logitBias(Map<String, Integer>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
logprobs(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
logprobs(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
logRequestsAndResponses(boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
logRequestsAndResponses(boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
logRequestsAndResponses(boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
logRequestsAndResponses(Boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
logRequestsAndResponses(Boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
logRequestsAndResponses(Boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 

M

maxRetries(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
maxRetries(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
maxTokens(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
maxTokens(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
maxTokens(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
maxTokens(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
modelName() - Method in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
modelName() - Method in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
modelName() - Method in enum dev.langchain4j.model.azure.AzureOpenAiImageModelName
 
modelName() - Method in enum dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
modelType() - Method in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
modelType() - Method in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
modelType() - Method in enum dev.langchain4j.model.azure.AzureOpenAiImageModelName
 
modelType() - Method in enum dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
modelVersion() - Method in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
modelVersion() - Method in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
modelVersion() - Method in enum dev.langchain4j.model.azure.AzureOpenAiImageModelName
 
modelVersion() - Method in enum dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 

N

n(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
n(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
n(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
n(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
nonAzureApiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Used to authenticate with the OpenAI service, instead of Azure OpenAI.
nonAzureApiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Used to authenticate with the OpenAI service, instead of Azure OpenAI.
nonAzureApiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Used to authenticate with the OpenAI service, instead of Azure OpenAI.
nonAzureApiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Used to authenticate with the OpenAI service, instead of Azure OpenAI.
nonAzureApiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Used to authenticate with the OpenAI service, instead of Azure OpenAI.
nonAzureApiKey(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Used to authenticate with the OpenAI service, instead of Azure OpenAI.

O

openAIAsyncClient(OpenAIAsyncClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Sets the Azure OpenAI client.
openAIClient(OpenAIClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Sets the Azure OpenAI client.
openAIClient(OpenAIClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Sets the Azure OpenAI client.
openAIClient(OpenAIClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
openAIClient(OpenAIClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Sets the Azure OpenAI client.
openAIClient(OpenAIClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Deprecated.
Please use AzureOpenAiStreamingChatModel.Builder.openAIAsyncClient(OpenAIAsyncClient) instead, if you require response streaming. Please use AzureOpenAiChatModel instead, if you require sync responses.
openAIClient(OpenAIClient) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Sets the Azure OpenAI client.

P

presencePenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
presencePenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
presencePenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
presencePenalty(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
proxyOptions(ProxyOptions) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 

Q

quality(ImageGenerationQuality) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the quality of the image, using the ImageGenerationQuality enum.
quality(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the quality of the image.

R

responseFormat(ChatCompletionsResponseFormat) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
responseFormat(ChatCompletionsResponseFormat) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
responseFormat(ImageGenerationResponseFormat) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the response format of the image, using the ImageGenerationResponseFormat enum.
responseFormat(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the response format of the image.

S

seed(Long) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
seed(Long) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
serviceVersion(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Sets the Azure OpenAI API service version.
serviceVersion(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Sets the Azure OpenAI API service version.
serviceVersion(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the Azure OpenAI API service version.
serviceVersion(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Sets the Azure OpenAI API service version.
serviceVersion(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Sets the Azure OpenAI API service version.
serviceVersion(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Sets the Azure OpenAI API service version.
size(ImageSize) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the size of the image, using the ImageSize enum.
size(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the size of the image.
stop(List<String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
stop(List<String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
stop(List<String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
stop(List<String>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
style(ImageGenerationStyle) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the style of the image, using the ImageGenerationStyle enum.
style(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the style of the image.

T

temperature(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
temperature(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
TEXT_DAVINCI_002 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
TEXT_DAVINCI_002 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
TEXT_DAVINCI_002_1 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 
TEXT_EMBEDDING_3_LARGE - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
TEXT_EMBEDDING_3_LARGE - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
TEXT_EMBEDDING_3_LARGE_1 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
TEXT_EMBEDDING_3_SMALL - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
TEXT_EMBEDDING_3_SMALL - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
TEXT_EMBEDDING_3_SMALL_1 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
TEXT_EMBEDDING_ADA_002 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
TEXT_EMBEDDING_ADA_002 - Static variable in class dev.langchain4j.model.azure.AzureOpenAiModelName
Deprecated.
 
TEXT_EMBEDDING_ADA_002_1 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
TEXT_EMBEDDING_ADA_002_2 - Enum constant in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
timeout(Duration) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
timeout(Duration) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
tokenCredential(TokenCredential) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenCredential(TokenCredential) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenCredential(TokenCredential) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenCredential(TokenCredential) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenCredential(TokenCredential) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenCredential(TokenCredential) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
tokenizer(Tokenizer) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
tokenizer(Tokenizer) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
tokenizer(Tokenizer) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
tokenizer(Tokenizer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
tokenizer(Tokenizer) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
topP(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
topP(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
topP(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
topP(Double) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
toString() - Method in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
 
toString() - Method in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
 
toString() - Method in enum dev.langchain4j.model.azure.AzureOpenAiImageModelName
 
toString() - Method in enum dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
 

U

useAsyncClient(boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Deprecated.
If you want to continue using sync client, use AzureOpenAiChatModel instead.
user(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
user(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Sets the user of the image.
user(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
user(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
user(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
 
userAgentSuffix(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
 

V

valueOf(String) - Static method in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.langchain4j.model.azure.AzureOpenAiImageModelName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
Returns the enum constant of this type with the specified name.
values() - Static method in enum dev.langchain4j.model.azure.AzureOpenAiChatModelName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.langchain4j.model.azure.AzureOpenAiImageModelName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G K L M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values