Index
All Classes and Interfaces|All Packages
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(AzureOpenAiChatModel.Builder) - 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 Class 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(AzureOpenAiEmbeddingModel.Builder) - 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 Class 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(AzureOpenAiImageModel.Builder) - 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 Class 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(AzureOpenAiLanguageModel.Builder) - 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 Class in dev.langchain4j.model.azure
- 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(AzureOpenAiStreamingChatModel.Builder) - 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(AzureOpenAiStreamingLanguageModel.Builder) - 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. - AzureOpenAiTokenCountEstimator - Class in dev.langchain4j.model.azure
-
This class can be used to estimate the cost (in tokens) before calling OpenAI or when using streaming.
- AzureOpenAiTokenCountEstimator(AzureOpenAiChatModelName) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenCountEstimator
-
Creates an instance of the
AzureOpenAiTokenCountEstimator
for a givenAzureOpenAiChatModelName
. - AzureOpenAiTokenCountEstimator(AzureOpenAiEmbeddingModelName) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenCountEstimator
-
Creates an instance of the
AzureOpenAiTokenCountEstimator
for a givenAzureOpenAiEmbeddingModelName
. - AzureOpenAiTokenCountEstimator(AzureOpenAiLanguageModelName) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenCountEstimator
-
Creates an instance of the
AzureOpenAiTokenCountEstimator
for a givenAzureOpenAiLanguageModelName
. - AzureOpenAiTokenCountEstimator(String) - Constructor for class dev.langchain4j.model.azure.AzureOpenAiTokenCountEstimator
-
Creates an instance of the
AzureOpenAiTokenCountEstimator
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 class dev.langchain4j.model.azure.AzureOpenAiImageModelName
- DALL_E_3_30 - Enum constant in enum class 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
- defaultRequestParameters() - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
- defaultRequestParameters() - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
- defaultRequestParameters(ChatRequestParameters) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
- defaultRequestParameters(ChatRequestParameters) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
- 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 class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
- dimensions(Integer) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
- doChat(ChatRequest) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
- doChat(ChatRequest, StreamingChatResponseHandler) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
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.
- 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
- estimateTokenCountInMessage(ChatMessage) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenCountEstimator
- estimateTokenCountInMessages(Iterable<ChatMessage>) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenCountEstimator
- estimateTokenCountInText(String) - Method in class dev.langchain4j.model.azure.AzureOpenAiTokenCountEstimator
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
- GPT_3_5_TURBO - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_3_5_TURBO_0301 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_3_5_TURBO_0613 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_3_5_TURBO_1106 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_3_5_TURBO_16K - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_3_5_TURBO_16K_0613 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_3_5_TURBO_INSTRUCT - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
- GPT_3_5_TURBO_INSTRUCT_0914 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
- GPT_4 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_4_0125_PREVIEW - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_4_0613 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_4_1106_PREVIEW - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_4_32K - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_4_32K_0613 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_4_O - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_4_TURBO - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_4_TURBO_2024_04_09 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- GPT_4_VISION_PREVIEW - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
H
- httpClientProvider(HttpClientProvider) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
-
Sets the
HttpClientProvider
to use for creating the HTTP client to communicate with the OpenAI api. - httpClientProvider(HttpClientProvider) - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
-
Sets the
HttpClientProvider
to use for creating the HTTP client to communicate with the OpenAI api. - httpClientProvider(HttpClientProvider) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
-
Sets the
HttpClientProvider
to use for creating the HTTP client to communicate with the OpenAI api. - httpClientProvider(HttpClientProvider) - Method in class dev.langchain4j.model.azure.AzureOpenAiLanguageModel.Builder
-
Sets the
HttpClientProvider
to use for creating the HTTP client to communicate with the OpenAI api. - httpClientProvider(HttpClientProvider) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
-
Sets the
HttpClientProvider
to use for creating the HTTP client to communicate with the OpenAI api. - httpClientProvider(HttpClientProvider) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingLanguageModel.Builder
-
Sets the
HttpClientProvider
to use for creating the HTTP client to communicate with the OpenAI api.
K
- knownDimension() - Method in class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel
- knownDimension(String) - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
L
- listeners() - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
- listeners() - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
- 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 class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- modelName() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
- modelName() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
- modelName() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
- modelType() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- modelType() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
- modelType() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
- modelType() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
- modelVersion() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- modelVersion() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
- modelVersion() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
- modelVersion() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
N
- 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.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
- provider() - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
- provider() - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
- 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(ImageGenerationResponseFormat) - Method in class dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
-
Sets the response format of the image, using the ImageGenerationResponseFormat enum.
- responseFormat(ResponseFormat) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
- responseFormat(ResponseFormat) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
- 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
- strictJsonSchema(Boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
- strictJsonSchema(Boolean) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.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.
- supportedCapabilities() - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel
- supportedCapabilities() - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel
- supportedCapabilities(Capability...) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
- supportedCapabilities(Capability...) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
- supportedCapabilities(Set<Capability>) - Method in class dev.langchain4j.model.azure.AzureOpenAiChatModel.Builder
- supportedCapabilities(Set<Capability>) - Method in class dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
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 class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
- TEXT_DAVINCI_002_1 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
- TEXT_EMBEDDING_3_LARGE - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
- TEXT_EMBEDDING_3_LARGE_1 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
- TEXT_EMBEDDING_3_SMALL - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
- TEXT_EMBEDDING_3_SMALL_1 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
- TEXT_EMBEDDING_ADA_002 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
- TEXT_EMBEDDING_ADA_002_1 - Enum constant in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
- TEXT_EMBEDDING_ADA_002_2 - Enum constant in enum class 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.
- 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 class dev.langchain4j.model.azure.AzureOpenAiChatModelName
- toString() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
- toString() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
- toString() - Method in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
U
- 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 class dev.langchain4j.model.azure.AzureOpenAiChatModelName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiChatModelName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiEmbeddingModelName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiImageModelName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.langchain4j.model.azure.AzureOpenAiLanguageModelName
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages