Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- add(TokenUsage) - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage
- addAssistantMessage(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- addImageUrl(String) - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage.Builder
- addImageUrl(String, ImageDetail) - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage.Builder
- addImageUrls(String...) - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage.Builder
- addInputAudio(InputAudio) - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage.Builder
- addSystemMessage(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- addText(String) - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage.Builder
- addToolMessage(String, String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- addUserMessage(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- aiMessageFrom(ChatCompletionResponse) - Static method in class dev.langchain4j.model.openai.internal.OpenAiUtils
- apiKey - Variable in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- apiKey(String) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- apiKey(String) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- apiKey(String) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- apiKey(String) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- apiKey(String) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- apiKey(String) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- apiKey(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- apiKey(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
- append(ChatCompletionResponse) - Method in class dev.langchain4j.model.openai.OpenAiStreamingResponseBuilder
- append(CompletionResponse) - Method in class dev.langchain4j.model.openai.OpenAiStreamingResponseBuilder
- arguments() - Method in class dev.langchain4j.model.openai.internal.chat.FunctionCall
- arguments(String) - Method in class dev.langchain4j.model.openai.internal.chat.FunctionCall.Builder
- ASSISTANT - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.Role
- AssistantMessage - Class in dev.langchain4j.model.openai.internal.chat
- AssistantMessage(AssistantMessage.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.AssistantMessage
- AssistantMessage.Builder - Class in dev.langchain4j.model.openai.internal.chat
- AsyncResponseHandling - Interface in dev.langchain4j.model.openai.internal
- AUDIO - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.ContentType
- AUTO - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.ImageDetail
- AUTO - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.ToolChoiceMode
B
- b64Json() - Method in class dev.langchain4j.model.openai.internal.image.ImageData
- b64Json(String) - Method in class dev.langchain4j.model.openai.internal.image.ImageData.Builder
- baseUrl - Variable in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- baseUrl(String) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- baseUrl(String) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- baseUrl(String) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- baseUrl(String) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- baseUrl(String) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- baseUrl(String) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- baseUrl(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- baseUrl(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
- bestOf() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- bestOf(Integer) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.Content.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.Delta.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.Function.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.FunctionCall.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.FunctionMessage.Builder
-
Deprecated.
- build() - Method in class dev.langchain4j.model.openai.internal.chat.ImageUrl.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.InputAudio.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.JsonSchema.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.ResponseFormat.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.SystemMessage.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.Tool.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.ToolCall.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.ToolChoice.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.ToolMessage.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionChoice.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.completion.Logprobs.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.DefaultOpenAiClient.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.embedding.Embedding.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesResponse.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.image.ImageData.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.moderation.Categories.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationRequest.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResult.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.shared.CompletionTokensDetails.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.shared.PromptTokensDetails.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.shared.StreamOptions.Builder
- build() - Method in class dev.langchain4j.model.openai.internal.shared.Usage.Builder
- build() - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- build() - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- build() - Method in class dev.langchain4j.model.openai.OpenAiChatResponseMetadata.Builder
- build() - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- build() - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- build() - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- build() - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- build() - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- build() - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
- build() - Method in class dev.langchain4j.model.openai.OpenAiStreamingResponseBuilder
- build() - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.Builder
- build() - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.InputTokensDetails.Builder
- build() - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.OutputTokensDetails.Builder
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.Content
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.Delta
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.Function
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.FunctionCall
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.FunctionMessage
-
Deprecated.
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.ImageUrl
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.InputAudio
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.InputAudio.Builder
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.JsonSchema
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.ResponseFormat
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.SystemMessage
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.Tool
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.ToolCall
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.ToolMessage
- builder() - Static method in class dev.langchain4j.model.openai.internal.chat.UserMessage
- builder() - Static method in class dev.langchain4j.model.openai.internal.completion.CompletionChoice
- builder() - Static method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- builder() - Static method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse
- builder() - Static method in class dev.langchain4j.model.openai.internal.completion.Logprobs
- builder() - Static method in class dev.langchain4j.model.openai.internal.DefaultOpenAiClient
- builder() - Static method in class dev.langchain4j.model.openai.internal.embedding.Embedding
- builder() - Static method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest
- builder() - Static method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse
- builder() - Static method in class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest
- builder() - Static method in class dev.langchain4j.model.openai.internal.image.GenerateImagesResponse
- builder() - Static method in class dev.langchain4j.model.openai.internal.image.ImageData
- builder() - Static method in class dev.langchain4j.model.openai.internal.moderation.Categories
- builder() - Static method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores
- builder() - Static method in class dev.langchain4j.model.openai.internal.moderation.ModerationRequest
- builder() - Static method in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse
- builder() - Static method in class dev.langchain4j.model.openai.internal.moderation.ModerationResult
- builder() - Static method in class dev.langchain4j.model.openai.internal.OpenAiClient
- builder() - Static method in class dev.langchain4j.model.openai.internal.shared.CompletionTokensDetails
- builder() - Static method in class dev.langchain4j.model.openai.internal.shared.PromptTokensDetails
- builder() - Static method in class dev.langchain4j.model.openai.internal.shared.StreamOptions
- builder() - Static method in class dev.langchain4j.model.openai.internal.shared.Usage
- builder() - Static method in class dev.langchain4j.model.openai.OpenAiChatModel
- builder() - Static method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
- builder() - Static method in class dev.langchain4j.model.openai.OpenAiChatResponseMetadata
- builder() - Static method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
- builder() - Static method in class dev.langchain4j.model.openai.OpenAiImageModel
- builder() - Static method in class dev.langchain4j.model.openai.OpenAiLanguageModel
- builder() - Static method in class dev.langchain4j.model.openai.OpenAiModerationModel
- builder() - Static method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
- builder() - Static method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel
- builder() - Static method in class dev.langchain4j.model.openai.OpenAiTokenUsage
- builder() - Static method in class dev.langchain4j.model.openai.OpenAiTokenUsage.InputTokensDetails
- builder() - Static method in class dev.langchain4j.model.openai.OpenAiTokenUsage.OutputTokensDetails
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.AssistantMessage.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.Content.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.Delta.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.Function.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.FunctionCall.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.FunctionMessage.Builder
-
Deprecated.
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.ImageUrl.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.InputAudio.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.JsonSchema.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.ResponseFormat.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.SystemMessage.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.Tool.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.ToolCall.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.ToolChoice.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.ToolMessage.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.chat.UserMessage.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.completion.CompletionChoice.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.completion.CompletionResponse.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.completion.Logprobs.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.DefaultOpenAiClient.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.embedding.Embedding.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.image.GenerateImagesResponse.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.image.ImageData.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.moderation.Categories.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.moderation.CategoryScores.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.moderation.ModerationRequest.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.moderation.ModerationResponse.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.moderation.ModerationResult.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.shared.CompletionTokensDetails.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.shared.PromptTokensDetails.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.shared.StreamOptions.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.internal.shared.Usage.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.OpenAiChatResponseMetadata.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.OpenAiTokenUsage.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.OpenAiTokenUsage.InputTokensDetails.Builder
- Builder() - Constructor for class dev.langchain4j.model.openai.OpenAiTokenUsage.OutputTokensDetails.Builder
C
- cachedTokens() - Method in class dev.langchain4j.model.openai.internal.shared.PromptTokensDetails
- cachedTokens() - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.InputTokensDetails
- cachedTokens(Integer) - Method in class dev.langchain4j.model.openai.internal.shared.PromptTokensDetails.Builder
- cachedTokens(Integer) - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.InputTokensDetails.Builder
- cancel() - Method in class dev.langchain4j.model.openai.internal.ResponseHandle
- categories() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResult
- categories(Categories) - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResult.Builder
- Categories - Class in dev.langchain4j.model.openai.internal.moderation
- Categories(Categories.Builder) - Constructor for class dev.langchain4j.model.openai.internal.moderation.Categories
- Categories.Builder - Class in dev.langchain4j.model.openai.internal.moderation
- categoryScores() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResult
- categoryScores(CategoryScores) - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResult.Builder
- CategoryScores - Class in dev.langchain4j.model.openai.internal.moderation
- CategoryScores(CategoryScores.Builder) - Constructor for class dev.langchain4j.model.openai.internal.moderation.CategoryScores
- CategoryScores.Builder - Class in dev.langchain4j.model.openai.internal.moderation
- chatCompletion(ChatCompletionRequest) - Method in class dev.langchain4j.model.openai.internal.DefaultOpenAiClient
- chatCompletion(ChatCompletionRequest) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient
- ChatCompletionChoice - Class in dev.langchain4j.model.openai.internal.chat
- ChatCompletionChoice(ChatCompletionChoice.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice
- ChatCompletionChoice.Builder - Class in dev.langchain4j.model.openai.internal.chat
- ChatCompletionRequest - Class in dev.langchain4j.model.openai.internal.chat
- ChatCompletionRequest(ChatCompletionRequest.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- ChatCompletionRequest.Builder - Class in dev.langchain4j.model.openai.internal.chat
- ChatCompletionResponse - Class in dev.langchain4j.model.openai.internal.chat
- ChatCompletionResponse(ChatCompletionResponse.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse
- ChatCompletionResponse.Builder - Class in dev.langchain4j.model.openai.internal.chat
- choices() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse
- choices() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse
- choices(List<ChatCompletionChoice>) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse.Builder
- choices(List<CompletionChoice>) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse.Builder
- completion(CompletionRequest) - Method in class dev.langchain4j.model.openai.internal.DefaultOpenAiClient
- completion(CompletionRequest) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient
- CompletionChoice - Class in dev.langchain4j.model.openai.internal.completion
- CompletionChoice(CompletionChoice.Builder) - Constructor for class dev.langchain4j.model.openai.internal.completion.CompletionChoice
- CompletionChoice.Builder - Class in dev.langchain4j.model.openai.internal.completion
- CompletionRequest - Class in dev.langchain4j.model.openai.internal.completion
- CompletionRequest(CompletionRequest.Builder) - Constructor for class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- CompletionRequest.Builder - Class in dev.langchain4j.model.openai.internal.completion
- CompletionResponse - Class in dev.langchain4j.model.openai.internal.completion
- CompletionResponse(CompletionResponse.Builder) - Constructor for class dev.langchain4j.model.openai.internal.completion.CompletionResponse
- CompletionResponse.Builder - Class in dev.langchain4j.model.openai.internal.completion
- completionTokens() - Method in class dev.langchain4j.model.openai.internal.shared.Usage
- completionTokens(Integer) - Method in class dev.langchain4j.model.openai.internal.shared.Usage.Builder
- completionTokensDetails() - Method in class dev.langchain4j.model.openai.internal.shared.Usage
- completionTokensDetails(CompletionTokensDetails) - Method in class dev.langchain4j.model.openai.internal.shared.Usage.Builder
- CompletionTokensDetails - Class in dev.langchain4j.model.openai.internal.shared
- CompletionTokensDetails(CompletionTokensDetails.Builder) - Constructor for class dev.langchain4j.model.openai.internal.shared.CompletionTokensDetails
- CompletionTokensDetails.Builder - Class in dev.langchain4j.model.openai.internal.shared
- connectTimeout - Variable in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- connectTimeout(Duration) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- content() - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage
- content() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse
-
Convenience method to get the content of the message from the first choice.
- content() - Method in class dev.langchain4j.model.openai.internal.chat.Delta
- content() - Method in class dev.langchain4j.model.openai.internal.chat.FunctionMessage
-
Deprecated.
- content() - Method in class dev.langchain4j.model.openai.internal.chat.SystemMessage
- content() - Method in class dev.langchain4j.model.openai.internal.chat.ToolMessage
- content() - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage
- content(String) - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage.Builder
- content(String) - Method in class dev.langchain4j.model.openai.internal.chat.Delta.Builder
- content(String) - Method in class dev.langchain4j.model.openai.internal.chat.FunctionMessage.Builder
-
Deprecated.
- content(String) - Method in class dev.langchain4j.model.openai.internal.chat.SystemMessage.Builder
- content(String) - Method in class dev.langchain4j.model.openai.internal.chat.ToolMessage.Builder
- content(String) - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage.Builder
- content(List<Content>) - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage.Builder
- Content - Class in dev.langchain4j.model.openai.internal.chat
- Content(Content.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.Content
- Content.Builder - Class in dev.langchain4j.model.openai.internal.chat
- ContentType - Enum Class in dev.langchain4j.model.openai.internal.chat
- convertResponse(ChatResponse) - Static method in class dev.langchain4j.model.openai.internal.OpenAiUtils
- created() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse
- created() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse
- created() - Method in class dev.langchain4j.model.openai.OpenAiChatResponseMetadata
- created(Integer) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse.Builder
- created(Long) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse.Builder
- created(Long) - Method in class dev.langchain4j.model.openai.OpenAiChatResponseMetadata.Builder
- customHeaders - Variable in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
-
Custom headers to be added to each HTTP request.
- customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- customHeaders(Map<String, String>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
D
- DALL_E_2 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiImageModelName
- DALL_E_3 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiImageModelName
- data() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse
- data() - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesResponse
- data(String) - Method in class dev.langchain4j.model.openai.internal.chat.InputAudio.Builder
- data(List<Embedding>) - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse.Builder
- data(List<ImageData>) - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesResponse.Builder
- decode(List<Integer>) - Method in class dev.langchain4j.model.openai.OpenAiTokenCountEstimator
- DEFAULT_OPENAI_URL - Static variable in class dev.langchain4j.model.openai.internal.OpenAiUtils
- DEFAULT_USER_AGENT - Static variable in class dev.langchain4j.model.openai.internal.OpenAiUtils
- DefaultOpenAiClient - Class in dev.langchain4j.model.openai.internal
- DefaultOpenAiClient(DefaultOpenAiClient.Builder) - Constructor for class dev.langchain4j.model.openai.internal.DefaultOpenAiClient
- DefaultOpenAiClient.Builder - Class in dev.langchain4j.model.openai.internal
- defaultRequestParameters() - Method in class dev.langchain4j.model.openai.OpenAiChatModel
- defaultRequestParameters() - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
- defaultRequestParameters(ChatRequestParameters) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
-
Sets default common
ChatRequestParameters
or OpenAI-specificOpenAiChatRequestParameters
. - defaultRequestParameters(ChatRequestParameters) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
-
Sets default common
ChatRequestParameters
or OpenAI-specificOpenAiChatRequestParameters
. - delta() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice
- delta(Delta) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice.Builder
- Delta - Class in dev.langchain4j.model.openai.internal.chat
- Delta(Delta.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.Delta
- Delta.Builder - Class in dev.langchain4j.model.openai.internal.chat
- description() - Method in class dev.langchain4j.model.openai.internal.chat.Function
- description(String) - Method in class dev.langchain4j.model.openai.internal.chat.Function.Builder
- detail(ImageDetail) - Method in class dev.langchain4j.model.openai.internal.chat.ImageUrl.Builder
- dev.langchain4j.model.openai - package dev.langchain4j.model.openai
- dev.langchain4j.model.openai.internal - package dev.langchain4j.model.openai.internal
- dev.langchain4j.model.openai.internal.chat - package dev.langchain4j.model.openai.internal.chat
- dev.langchain4j.model.openai.internal.completion - package dev.langchain4j.model.openai.internal.completion
- dev.langchain4j.model.openai.internal.embedding - package dev.langchain4j.model.openai.internal.embedding
- dev.langchain4j.model.openai.internal.image - package dev.langchain4j.model.openai.internal.image
- dev.langchain4j.model.openai.internal.moderation - package dev.langchain4j.model.openai.internal.moderation
- dev.langchain4j.model.openai.internal.shared - package dev.langchain4j.model.openai.internal.shared
- dev.langchain4j.model.openai.internal.spi - package dev.langchain4j.model.openai.internal.spi
- dev.langchain4j.model.openai.spi - package dev.langchain4j.model.openai.spi
- dimension() - Method in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
- dimensions() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest
- dimensions(Integer) - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest.Builder
- dimensions(Integer) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- doChat(ChatRequest) - Method in class dev.langchain4j.model.openai.OpenAiChatModel
- doChat(ChatRequest, StreamingChatResponseHandler) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
E
- echo() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- echo(Boolean) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
- embedding() - Method in class dev.langchain4j.model.openai.internal.embedding.Embedding
- embedding() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse
-
Convenience method to get the embedding from the first data.
- embedding(EmbeddingRequest) - Method in class dev.langchain4j.model.openai.internal.DefaultOpenAiClient
- embedding(EmbeddingRequest) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient
- embedding(List<Float>) - Method in class dev.langchain4j.model.openai.internal.embedding.Embedding.Builder
- Embedding - Class in dev.langchain4j.model.openai.internal.embedding
- Embedding(Embedding.Builder) - Constructor for class dev.langchain4j.model.openai.internal.embedding.Embedding
- Embedding.Builder - Class in dev.langchain4j.model.openai.internal.embedding
- EmbeddingRequest - Class in dev.langchain4j.model.openai.internal.embedding
- EmbeddingRequest(EmbeddingRequest.Builder) - Constructor for class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest
- EmbeddingRequest.Builder - Class in dev.langchain4j.model.openai.internal.embedding
- EmbeddingResponse - Class in dev.langchain4j.model.openai.internal.embedding
- EmbeddingResponse(EmbeddingResponse.Builder) - Constructor for class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse
- EmbeddingResponse.Builder - Class in dev.langchain4j.model.openai.internal.embedding
- encode(String) - Method in class dev.langchain4j.model.openai.OpenAiTokenCountEstimator
- encode(String, int) - Method in class dev.langchain4j.model.openai.OpenAiTokenCountEstimator
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.Content
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.Delta
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.Function
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.FunctionCall
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.FunctionMessage
-
Deprecated.
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.ImageUrl
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.InputAudio
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.JsonSchema
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.ResponseFormat
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.SystemMessage
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.Tool
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.ToolCall
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.ToolChoice
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.ToolMessage
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionChoice
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.completion.Logprobs
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.embedding.Embedding
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesResponse
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.image.ImageData
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.moderation.Categories
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationRequest
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResult
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.shared.CompletionTokensDetails
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.shared.PromptTokensDetails
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.shared.StreamOptions
- equals(Object) - Method in class dev.langchain4j.model.openai.internal.shared.Usage
- equals(Object) - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
- equals(Object) - Method in class dev.langchain4j.model.openai.OpenAiChatResponseMetadata
- equals(Object) - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage
- equals(Object) - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.InputTokensDetails
- equals(Object) - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.OutputTokensDetails
- ErrorHandling - Interface in dev.langchain4j.model.openai.internal
- estimateTokenCountInMessage(ChatMessage) - Method in class dev.langchain4j.model.openai.OpenAiTokenCountEstimator
- estimateTokenCountInMessages(Iterable<ChatMessage>) - Method in class dev.langchain4j.model.openai.OpenAiTokenCountEstimator
- estimateTokenCountInText(String) - Method in class dev.langchain4j.model.openai.OpenAiTokenCountEstimator
- execute() - Method in interface dev.langchain4j.model.openai.internal.ErrorHandling
- execute() - Method in interface dev.langchain4j.model.openai.internal.SyncOrAsync
F
- finishReason() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice
- finishReason() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionChoice
- finishReason(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice.Builder
- finishReason(String) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionChoice.Builder
- finishReasonFrom(String) - Static method in class dev.langchain4j.model.openai.internal.OpenAiUtils
- flagged(Boolean) - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResult.Builder
- format(String) - Method in class dev.langchain4j.model.openai.internal.chat.InputAudio.Builder
- frequencyPenalty() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- frequencyPenalty() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- frequencyPenalty(Double) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- frequencyPenalty(Double) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- frequencyPenalty(Double) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- frequencyPenalty(Double) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- from(ChatCompletionRequest) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- from(Function) - Static method in class dev.langchain4j.model.openai.internal.chat.Tool
- from(CompletionRequest) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- from(String) - Static method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage
- from(String) - Static method in class dev.langchain4j.model.openai.internal.chat.SystemMessage
- from(String) - Static method in class dev.langchain4j.model.openai.internal.chat.ToolChoice
- from(String) - Static method in class dev.langchain4j.model.openai.internal.chat.UserMessage
- from(String, String) - Static method in class dev.langchain4j.model.openai.internal.chat.FunctionMessage
-
Deprecated.
- from(String, String) - Static method in class dev.langchain4j.model.openai.internal.chat.ToolMessage
- from(String, String...) - Static method in class dev.langchain4j.model.openai.internal.chat.UserMessage
- fromOpenAiResponseFormat(String) - Static method in class dev.langchain4j.model.openai.internal.OpenAiUtils
- function() - Method in class dev.langchain4j.model.openai.internal.chat.Tool
- function() - Method in class dev.langchain4j.model.openai.internal.chat.ToolCall
- function(Function) - Method in class dev.langchain4j.model.openai.internal.chat.Tool.Builder
- function(Function) - Method in class dev.langchain4j.model.openai.internal.chat.ToolChoice.Builder
- function(FunctionCall) - Method in class dev.langchain4j.model.openai.internal.chat.ToolCall.Builder
- Function - Class in dev.langchain4j.model.openai.internal.chat
- Function(Function.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.Function
- FUNCTION - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.Role
-
Deprecated.
- FUNCTION - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.ToolType
- Function.Builder - Class in dev.langchain4j.model.openai.internal.chat
- functionCall() - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage
-
Deprecated.
- functionCall() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
-
Deprecated.
- functionCall() - Method in class dev.langchain4j.model.openai.internal.chat.Delta
-
Deprecated.
- functionCall(FunctionCall) - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage.Builder
-
Deprecated.
- functionCall(FunctionCall) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
-
Deprecated.
- functionCall(FunctionCall) - Method in class dev.langchain4j.model.openai.internal.chat.Delta.Builder
-
Deprecated.
- functionCall(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
-
Deprecated.
- FunctionCall - Class in dev.langchain4j.model.openai.internal.chat
- FunctionCall(FunctionCall.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.FunctionCall
- FunctionCall.Builder - Class in dev.langchain4j.model.openai.internal.chat
- FunctionMessage - Class in dev.langchain4j.model.openai.internal.chat
-
Deprecated.
- FunctionMessage(FunctionMessage.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.FunctionMessage
-
Deprecated.
- FunctionMessage.Builder - Class in dev.langchain4j.model.openai.internal.chat
-
Deprecated.
- functions() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
-
Deprecated.
- functions(Function...) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
-
Deprecated.
- functions(List<Function>) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
-
Deprecated.
G
- generate(String) - Method in class dev.langchain4j.model.openai.OpenAiImageModel
- generate(String) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel
- generate(String, int) - Method in class dev.langchain4j.model.openai.OpenAiImageModel
- generate(String, StreamingResponseHandler<String>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel
- GenerateImagesRequest - Class in dev.langchain4j.model.openai.internal.image
-
Represents the request from the OpenAI DALL·E API when generating images.
- GenerateImagesRequest(GenerateImagesRequest.Builder) - Constructor for class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest
- GenerateImagesRequest.Builder - Class in dev.langchain4j.model.openai.internal.image
- GenerateImagesResponse - Class in dev.langchain4j.model.openai.internal.image
-
Represents the response from the OpenAI DALL·E API when generating images.
- GenerateImagesResponse(GenerateImagesResponse.Builder) - Constructor for class dev.langchain4j.model.openai.internal.image.GenerateImagesResponse
- GenerateImagesResponse.Builder - Class in dev.langchain4j.model.openai.internal.image
- getData() - Method in class dev.langchain4j.model.openai.internal.chat.InputAudio
- getFormat() - Method in class dev.langchain4j.model.openai.internal.chat.InputAudio
- GPT_3_5_TURBO - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_3_5_TURBO_0125 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_3_5_TURBO_1106 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_3_5_TURBO_16K - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_3_5_TURBO_INSTRUCT - Enum constant in enum class dev.langchain4j.model.openai.OpenAiLanguageModelName
- GPT_4 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_0125_PREVIEW - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_0613 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_1 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_1_2025_04_14 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_1_MINI - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_1_MINI_2025_04_14 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_1_NANO - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_1_NANO_2025_04_14 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_1106_PREVIEW - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_32K - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_32K_0613 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_O - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_O_2024_05_13 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_O_2024_08_06 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_O_2024_11_20 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_O_MINI - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_O_MINI_2024_07_18 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_TURBO - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_TURBO_2024_04_09 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_TURBO_PREVIEW - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
H
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.Content
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.Delta
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.Function
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.FunctionCall
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.FunctionMessage
-
Deprecated.
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.ImageUrl
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.InputAudio
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.JsonSchema
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.ResponseFormat
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.SystemMessage
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.Tool
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.ToolCall
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.ToolChoice
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.ToolMessage
- hashCode() - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage
- hashCode() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionChoice
- hashCode() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- hashCode() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse
- hashCode() - Method in class dev.langchain4j.model.openai.internal.completion.Logprobs
- hashCode() - Method in class dev.langchain4j.model.openai.internal.embedding.Embedding
- hashCode() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest
- hashCode() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse
- hashCode() - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest
- hashCode() - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesResponse
- hashCode() - Method in class dev.langchain4j.model.openai.internal.image.ImageData
- hashCode() - Method in class dev.langchain4j.model.openai.internal.moderation.Categories
- hashCode() - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores
- hashCode() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationRequest
- hashCode() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse
- hashCode() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResult
- hashCode() - Method in class dev.langchain4j.model.openai.internal.shared.CompletionTokensDetails
- hashCode() - Method in class dev.langchain4j.model.openai.internal.shared.PromptTokensDetails
- hashCode() - Method in class dev.langchain4j.model.openai.internal.shared.StreamOptions
- hashCode() - Method in class dev.langchain4j.model.openai.internal.shared.Usage
- hashCode() - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
- hashCode() - Method in class dev.langchain4j.model.openai.OpenAiChatResponseMetadata
- hashCode() - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage
- hashCode() - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.InputTokensDetails
- hashCode() - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.OutputTokensDetails
- hate() - Method in class dev.langchain4j.model.openai.internal.moderation.Categories
- hate() - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores
- hate(Boolean) - Method in class dev.langchain4j.model.openai.internal.moderation.Categories.Builder
- hate(Double) - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores.Builder
- hateThreatening() - Method in class dev.langchain4j.model.openai.internal.moderation.Categories
- hateThreatening() - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores
- hateThreatening(Boolean) - Method in class dev.langchain4j.model.openai.internal.moderation.Categories.Builder
- hateThreatening(Double) - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores.Builder
- HIGH - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.ImageDetail
- httpClientBuilder - Variable in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- httpClientBuilder(HttpClientBuilder) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- httpClientBuilder(HttpClientBuilder) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- httpClientBuilder(HttpClientBuilder) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- httpClientBuilder(HttpClientBuilder) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- httpClientBuilder(HttpClientBuilder) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- httpClientBuilder(HttpClientBuilder) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- httpClientBuilder(HttpClientBuilder) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- httpClientBuilder(HttpClientBuilder) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
I
- id - Variable in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse.Builder
- id() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse
- id() - Method in class dev.langchain4j.model.openai.internal.chat.ToolCall
- id() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse
- id() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse
- id(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse.Builder
- id(String) - Method in class dev.langchain4j.model.openai.internal.chat.ToolCall.Builder
- id(String) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse.Builder
- id(String) - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse.Builder
- ignoreErrors() - Method in interface dev.langchain4j.model.openai.internal.AsyncResponseHandling
- ignoreErrors() - Method in interface dev.langchain4j.model.openai.internal.StreamingCompletionHandling
- IMAGE_URL - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.ContentType
- ImageData - Class in dev.langchain4j.model.openai.internal.image
- ImageData(ImageData.Builder) - Constructor for class dev.langchain4j.model.openai.internal.image.ImageData
- ImageData.Builder - Class in dev.langchain4j.model.openai.internal.image
- ImageDetail - Enum Class in dev.langchain4j.model.openai.internal.chat
- imagesGeneration(GenerateImagesRequest) - Method in class dev.langchain4j.model.openai.internal.DefaultOpenAiClient
- imagesGeneration(GenerateImagesRequest) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient
- imageUrl() - Method in class dev.langchain4j.model.openai.internal.chat.Content
- imageUrl(ImageUrl) - Method in class dev.langchain4j.model.openai.internal.chat.Content.Builder
- ImageUrl - Class in dev.langchain4j.model.openai.internal.chat
- ImageUrl(ImageUrl.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.ImageUrl
- ImageUrl.Builder - Class in dev.langchain4j.model.openai.internal.chat
- includeUsage() - Method in class dev.langchain4j.model.openai.internal.shared.StreamOptions
- includeUsage(Boolean) - Method in class dev.langchain4j.model.openai.internal.shared.StreamOptions.Builder
- index() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice
- index() - Method in class dev.langchain4j.model.openai.internal.chat.ToolCall
- index() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionChoice
- index() - Method in class dev.langchain4j.model.openai.internal.embedding.Embedding
- index(Integer) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice.Builder
- index(Integer) - Method in class dev.langchain4j.model.openai.internal.chat.ToolCall.Builder
- index(Integer) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionChoice.Builder
- index(Integer) - Method in class dev.langchain4j.model.openai.internal.embedding.Embedding.Builder
- input() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest
- input() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationRequest
- input(String) - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationRequest.Builder
- input(String...) - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest.Builder
- input(List<String>) - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest.Builder
- input(List<String>) - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationRequest.Builder
- inputAudio() - Method in class dev.langchain4j.model.openai.internal.chat.Content
- inputAudio(InputAudio) - Method in class dev.langchain4j.model.openai.internal.chat.Content.Builder
- InputAudio - Class in dev.langchain4j.model.openai.internal.chat
- InputAudio(InputAudio.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.InputAudio
- InputAudio.Builder - Class in dev.langchain4j.model.openai.internal.chat
- inputTokenCount(Integer) - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.Builder
- inputTokensDetails() - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage
- inputTokensDetails(OpenAiTokenUsage.InputTokensDetails) - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.Builder
- InputTokensDetails(OpenAiTokenUsage.InputTokensDetails.Builder) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenUsage.InputTokensDetails
- isFlagged() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResult
J
- JSON_OBJECT - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.ResponseFormatType
- JSON_SCHEMA - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.ResponseFormatType
- jsonSchema() - Method in class dev.langchain4j.model.openai.internal.chat.ResponseFormat
- jsonSchema(JsonSchema) - Method in class dev.langchain4j.model.openai.internal.chat.ResponseFormat.Builder
- JsonSchema - Class in dev.langchain4j.model.openai.internal.chat
- JsonSchema(JsonSchema.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.JsonSchema
- JsonSchema.Builder - Class in dev.langchain4j.model.openai.internal.chat
K
- knownDimension() - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
- knownDimension(String) - Static method in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
L
- listeners() - Method in class dev.langchain4j.model.openai.OpenAiChatModel
- listeners() - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
- listeners(List<ChatModelListener>) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- listeners(List<ChatModelListener>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- loadFactories(Class<T>) - Static method in class dev.langchain4j.model.openai.internal.spi.ServiceHelper
- loadFactories(Class<T>, ClassLoader) - Static method in class dev.langchain4j.model.openai.internal.spi.ServiceHelper
- logitBias() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- logitBias() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- logitBias() - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
- logitBias(Map<String, Integer>) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- logitBias(Map<String, Integer>) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- logitBias(Map<String, Integer>) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- logitBias(Map<String, Integer>) - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- logitBias(Map<String, Integer>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- logprobs() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionChoice
- logprobs() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- logprobs(Logprobs) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionChoice.Builder
- logprobs(Integer) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- Logprobs - Class in dev.langchain4j.model.openai.internal.completion
- Logprobs(Logprobs.Builder) - Constructor for class dev.langchain4j.model.openai.internal.completion.Logprobs
- Logprobs.Builder - Class in dev.langchain4j.model.openai.internal.completion
- logRequests - Variable in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- logRequests(Boolean) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- logRequests(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- logRequests(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- logRequests(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- logRequests(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- logRequests(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- logRequests(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- logRequests(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
- logResponses - Variable in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- logResponses(Boolean) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- logResponses(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- logResponses(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- logResponses(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- logResponses(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- logResponses(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- logResponses(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- logResponses(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
- LOW - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.ImageDetail
M
- maxCompletionTokens() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- maxCompletionTokens() - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
- maxCompletionTokens(Integer) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- maxCompletionTokens(Integer) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- maxCompletionTokens(Integer) - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- maxCompletionTokens(Integer) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- maxRetries(Integer) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- maxRetries(Integer) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- maxRetries(Integer) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- maxRetries(Integer) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- maxRetries(Integer) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- maxSegmentsPerBatch(Integer) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- maxTokens() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- maxTokens() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- maxTokens(Integer) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- maxTokens(Integer) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- maxTokens(Integer) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- maxTokens(Integer) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- message() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice
- message(AssistantMessage) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice.Builder
- Message - Interface in dev.langchain4j.model.openai.internal.chat
- messages() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- messages(Message...) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- messages(List<Message>) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- metadata() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- metadata() - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
- metadata(Map<String, String>) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- metadata(Map<String, String>) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- metadata(Map<String, String>) - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- metadata(Map<String, String>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- model - Variable in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse.Builder
- model() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- model() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse
- model() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- model() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse
- model() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest
- model() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse
- model() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationRequest
- model() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse
- model(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- model(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse.Builder
- model(String) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- model(String) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse.Builder
- model(String) - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest.Builder
- model(String) - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse.Builder
- model(String) - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest.Builder
- model(String) - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationRequest.Builder
- model(String) - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse.Builder
- modelName() - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
- modelName() - Method in class dev.langchain4j.model.openai.OpenAiImageModel
- modelName() - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel
- modelName() - Method in class dev.langchain4j.model.openai.OpenAiModerationModel
- modelName() - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel
- modelName(OpenAiChatModelName) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- modelName(OpenAiChatModelName) - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- modelName(OpenAiChatModelName) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- modelName(OpenAiEmbeddingModelName) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- modelName(OpenAiImageModelName) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- modelName(OpenAiLanguageModelName) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- modelName(OpenAiLanguageModelName) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
- modelName(OpenAiModerationModelName) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- modelName(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
- moderate(String) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel
- moderate(List<ChatMessage>) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel
- moderation(ModerationRequest) - Method in class dev.langchain4j.model.openai.internal.DefaultOpenAiClient
- moderation(ModerationRequest) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient
- ModerationRequest - Class in dev.langchain4j.model.openai.internal.moderation
- ModerationRequest(ModerationRequest.Builder) - Constructor for class dev.langchain4j.model.openai.internal.moderation.ModerationRequest
- ModerationRequest.Builder - Class in dev.langchain4j.model.openai.internal.moderation
- ModerationResponse - Class in dev.langchain4j.model.openai.internal.moderation
- ModerationResponse(ModerationResponse.Builder) - Constructor for class dev.langchain4j.model.openai.internal.moderation.ModerationResponse
- ModerationResponse.Builder - Class in dev.langchain4j.model.openai.internal.moderation
- ModerationResult - Class in dev.langchain4j.model.openai.internal.moderation
- ModerationResult(ModerationResult.Builder) - Constructor for class dev.langchain4j.model.openai.internal.moderation.ModerationResult
- ModerationResult.Builder - Class in dev.langchain4j.model.openai.internal.moderation
N
- n() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- n() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- n(int) - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest.Builder
- n(Integer) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- n(Integer) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- name() - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage
- name() - Method in class dev.langchain4j.model.openai.internal.chat.Function
- name() - Method in class dev.langchain4j.model.openai.internal.chat.FunctionCall
- name() - Method in class dev.langchain4j.model.openai.internal.chat.FunctionMessage
-
Deprecated.
- name() - Method in class dev.langchain4j.model.openai.internal.chat.SystemMessage
- name() - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage
- name(String) - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage.Builder
- name(String) - Method in class dev.langchain4j.model.openai.internal.chat.Function.Builder
- name(String) - Method in class dev.langchain4j.model.openai.internal.chat.FunctionCall.Builder
- name(String) - Method in class dev.langchain4j.model.openai.internal.chat.FunctionMessage.Builder
-
Deprecated.
- name(String) - Method in class dev.langchain4j.model.openai.internal.chat.JsonSchema.Builder
- name(String) - Method in class dev.langchain4j.model.openai.internal.chat.SystemMessage.Builder
- name(String) - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage.Builder
- NONE - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.ToolChoiceMode
O
- O1 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- O1_2024_12_17 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- O1_MINI - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- O1_MINI_2024_09_12 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- O1_PREVIEW - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- O1_PREVIEW_2024_09_12 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- O3 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- O3_2025_04_16 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- O3_MINI - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- O3_MINI_2025_01_31 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- O4_MINI - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- O4_MINI_2025_04_16 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- onComplete(Runnable) - Method in interface dev.langchain4j.model.openai.internal.StreamingResponseHandling
- onError(Consumer<Throwable>) - Method in interface dev.langchain4j.model.openai.internal.AsyncResponseHandling
- onError(Consumer<Throwable>) - Method in interface dev.langchain4j.model.openai.internal.StreamingCompletionHandling
- onPartialResponse(Consumer<ResponseContent>) - Method in interface dev.langchain4j.model.openai.internal.SyncOrAsyncOrStreaming
- onResponse(Consumer<ResponseContent>) - Method in interface dev.langchain4j.model.openai.internal.SyncOrAsync
- OpenAiChatModel - Class in dev.langchain4j.model.openai
-
Represents an OpenAI language model with a chat completion interface, such as gpt-4o-mini and o3.
- OpenAiChatModel(OpenAiChatModel.OpenAiChatModelBuilder) - Constructor for class dev.langchain4j.model.openai.OpenAiChatModel
- OpenAiChatModel.OpenAiChatModelBuilder - Class in dev.langchain4j.model.openai
- OpenAiChatModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- OpenAiChatModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
-
A factory for building
OpenAiChatModel.OpenAiChatModelBuilder
instances. - OpenAiChatModelName - Enum Class in dev.langchain4j.model.openai
- OpenAiChatRequestParameters - Class in dev.langchain4j.model.openai
- OpenAiChatRequestParameters.Builder - Class in dev.langchain4j.model.openai
- OpenAiChatResponseMetadata - Class in dev.langchain4j.model.openai
- OpenAiChatResponseMetadata.Builder - Class in dev.langchain4j.model.openai
- OpenAiClient - Class in dev.langchain4j.model.openai.internal
- OpenAiClient() - Constructor for class dev.langchain4j.model.openai.internal.OpenAiClient
- OpenAiClient.Builder<T,
B> - Class in dev.langchain4j.model.openai.internal - OpenAiClientBuilderFactory - Interface in dev.langchain4j.model.openai.internal.spi
- OpenAiEmbeddingModel - Class in dev.langchain4j.model.openai
-
Represents an OpenAI embedding model, such as text-embedding-ada-002.
- OpenAiEmbeddingModel(OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder) - Constructor for class dev.langchain4j.model.openai.OpenAiEmbeddingModel
- OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder - Class in dev.langchain4j.model.openai
- OpenAiEmbeddingModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- OpenAiEmbeddingModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
-
A factory for building
OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
instances. - OpenAiEmbeddingModelName - Enum Class in dev.langchain4j.model.openai
- OpenAiImageModel - Class in dev.langchain4j.model.openai
-
Represents an OpenAI DALL·E models to generate artistic images.
- OpenAiImageModel(OpenAiImageModel.OpenAiImageModelBuilder) - Constructor for class dev.langchain4j.model.openai.OpenAiImageModel
- OpenAiImageModel.OpenAiImageModelBuilder - Class in dev.langchain4j.model.openai
- OpenAiImageModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- OpenAiImageModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
-
A factory for building
OpenAiImageModel.OpenAiImageModelBuilder
instances. - OpenAiImageModelName - Enum Class in dev.langchain4j.model.openai
- OpenAiLanguageModel - Class in dev.langchain4j.model.openai
-
Represents an OpenAI language model with a completion interface, such as gpt-3.5-turbo-instruct.
- OpenAiLanguageModel(OpenAiLanguageModel.OpenAiLanguageModelBuilder) - Constructor for class dev.langchain4j.model.openai.OpenAiLanguageModel
- OpenAiLanguageModel.OpenAiLanguageModelBuilder - Class in dev.langchain4j.model.openai
-
Builder class for constructing instances of
OpenAiLanguageModel
. - OpenAiLanguageModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- OpenAiLanguageModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
-
A factory for building
OpenAiLanguageModel.OpenAiLanguageModelBuilder
instances. - OpenAiLanguageModelName - Enum Class in dev.langchain4j.model.openai
- OpenAiModerationModel - Class in dev.langchain4j.model.openai
-
Represents an OpenAI moderation model, such as text-moderation-latest.
- OpenAiModerationModel(OpenAiModerationModel.OpenAiModerationModelBuilder) - Constructor for class dev.langchain4j.model.openai.OpenAiModerationModel
- OpenAiModerationModel.OpenAiModerationModelBuilder - Class in dev.langchain4j.model.openai
- OpenAiModerationModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- OpenAiModerationModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
-
A factory for building
OpenAiModerationModel.OpenAiModerationModelBuilder
instances. - OpenAiModerationModelName - Enum Class in dev.langchain4j.model.openai
- OpenAiStreamingChatModel - Class in dev.langchain4j.model.openai
-
Represents an OpenAI language model with a chat completion interface, such as gpt-4o-mini and o3.
- OpenAiStreamingChatModel(OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder) - Constructor for class dev.langchain4j.model.openai.OpenAiStreamingChatModel
- OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder - Class in dev.langchain4j.model.openai
- OpenAiStreamingChatModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- OpenAiStreamingChatModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
-
A factory for building
OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
instances. - OpenAiStreamingLanguageModel - Class in dev.langchain4j.model.openai
-
Represents an OpenAI language model with a completion interface, such as gpt-3.5-turbo-instruct.
- OpenAiStreamingLanguageModel(OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder) - Constructor for class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel
- OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder - Class in dev.langchain4j.model.openai
- OpenAiStreamingLanguageModelBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
- OpenAiStreamingLanguageModelBuilderFactory - Interface in dev.langchain4j.model.openai.spi
-
A factory for building
OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
instances. - OpenAiStreamingResponseBuilder - Class in dev.langchain4j.model.openai
-
This class needs to be thread safe because it is called when a streaming result comes back and there is no guarantee that this thread will be the same as the one that initiated the request, in fact it almost certainly won't be.
- OpenAiStreamingResponseBuilder() - Constructor for class dev.langchain4j.model.openai.OpenAiStreamingResponseBuilder
- OpenAiTokenCountEstimator - Class in dev.langchain4j.model.openai
-
This class can be used to estimate the cost (in tokens) before calling OpenAI.
- OpenAiTokenCountEstimator(OpenAiChatModelName) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenCountEstimator
-
Creates an instance of the
OpenAiTokenCountEstimator
for a givenOpenAiChatModelName
. - OpenAiTokenCountEstimator(OpenAiEmbeddingModelName) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenCountEstimator
-
Creates an instance of the
OpenAiTokenCountEstimator
for a givenOpenAiEmbeddingModelName
. - OpenAiTokenCountEstimator(OpenAiLanguageModelName) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenCountEstimator
-
Creates an instance of the
OpenAiTokenCountEstimator
for a givenOpenAiLanguageModelName
. - OpenAiTokenCountEstimator(String) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenCountEstimator
-
Creates an instance of the
OpenAiTokenCountEstimator
for a given model name. - OpenAiTokenUsage - Class in dev.langchain4j.model.openai
- OpenAiTokenUsage.Builder - Class in dev.langchain4j.model.openai
- OpenAiTokenUsage.InputTokensDetails - Class in dev.langchain4j.model.openai
- OpenAiTokenUsage.InputTokensDetails.Builder - Class in dev.langchain4j.model.openai
- OpenAiTokenUsage.OutputTokensDetails - Class in dev.langchain4j.model.openai
- OpenAiTokenUsage.OutputTokensDetails.Builder - Class in dev.langchain4j.model.openai
- OpenAiUtils - Class in dev.langchain4j.model.openai.internal
- OpenAiUtils() - Constructor for class dev.langchain4j.model.openai.internal.OpenAiUtils
- organizationId - Variable in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- organizationId(String) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- organizationId(String) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- organizationId(String) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- organizationId(String) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- organizationId(String) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- organizationId(String) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- organizationId(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- organizationId(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
- outputTokenCount(Integer) - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.Builder
- outputTokensDetails() - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage
- outputTokensDetails(OpenAiTokenUsage.OutputTokensDetails) - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.Builder
- OutputTokensDetails(OpenAiTokenUsage.OutputTokensDetails.Builder) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenUsage.OutputTokensDetails
- overrideWith(ChatRequestParameters) - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- overrideWith(ChatRequestParameters) - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
P
- parallelToolCalls() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- parallelToolCalls() - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
- parallelToolCalls(Boolean) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- parallelToolCalls(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- parallelToolCalls(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- parallelToolCalls(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- parameters() - Method in class dev.langchain4j.model.openai.internal.chat.Function
- parameters(Map<String, Object>) - Method in class dev.langchain4j.model.openai.internal.chat.Function.Builder
- presencePenalty() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- presencePenalty() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- presencePenalty(Double) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- presencePenalty(Double) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- presencePenalty(Double) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- presencePenalty(Double) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- projectId - Variable in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- projectId(String) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- projectId(String) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- projectId(String) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- projectId(String) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- projectId(String) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- projectId(String) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- projectId(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- projectId(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
- prompt() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- prompt(String) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- prompt(String) - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest.Builder
- promptTokens() - Method in class dev.langchain4j.model.openai.internal.shared.Usage
- promptTokens(Integer) - Method in class dev.langchain4j.model.openai.internal.shared.Usage.Builder
- promptTokensDetails() - Method in class dev.langchain4j.model.openai.internal.shared.Usage
- promptTokensDetails(PromptTokensDetails) - Method in class dev.langchain4j.model.openai.internal.shared.Usage.Builder
- PromptTokensDetails - Class in dev.langchain4j.model.openai.internal.shared
- PromptTokensDetails(PromptTokensDetails.Builder) - Constructor for class dev.langchain4j.model.openai.internal.shared.PromptTokensDetails
- PromptTokensDetails.Builder - Class in dev.langchain4j.model.openai.internal.shared
- provider() - Method in class dev.langchain4j.model.openai.OpenAiChatModel
- provider() - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
Q
- quality(String) - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest.Builder
- quality(String) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
R
- readTimeout - Variable in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- readTimeout(Duration) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- reasoningEffort() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- reasoningEffort() - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
- reasoningEffort(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- reasoningEffort(String) - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- reasoningTokens() - Method in class dev.langchain4j.model.openai.internal.shared.CompletionTokensDetails
- reasoningTokens() - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.OutputTokensDetails
- reasoningTokens(Integer) - Method in class dev.langchain4j.model.openai.internal.shared.CompletionTokensDetails.Builder
- reasoningTokens(Integer) - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.OutputTokensDetails.Builder
- refusal() - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage
- refusal(Boolean) - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage.Builder
- REQUIRED - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.ToolChoiceMode
- responseFormat() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- responseFormat(ResponseFormat) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- responseFormat(ResponseFormatType) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- responseFormat(String) - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest.Builder
- responseFormat(String) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- responseFormat(String) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- responseFormat(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- ResponseFormat - Class in dev.langchain4j.model.openai.internal.chat
- ResponseFormat(ResponseFormat.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.ResponseFormat
- ResponseFormat.Builder - Class in dev.langchain4j.model.openai.internal.chat
- ResponseFormatType - Enum Class in dev.langchain4j.model.openai.internal.chat
- ResponseHandle - Class in dev.langchain4j.model.openai.internal
-
Provides a mechanism to cancel the response after a request has been initiated.
- ResponseHandle() - Constructor for class dev.langchain4j.model.openai.internal.ResponseHandle
- results - Variable in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse.Builder
- results() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse
- results(List<ModerationResult>) - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse.Builder
- revisedPrompt() - Method in class dev.langchain4j.model.openai.internal.image.ImageData
- revisedPrompt(String) - Method in class dev.langchain4j.model.openai.internal.image.ImageData.Builder
- role() - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage
- role() - Method in class dev.langchain4j.model.openai.internal.chat.Delta
- role() - Method in class dev.langchain4j.model.openai.internal.chat.FunctionMessage
-
Deprecated.
- role() - Method in interface dev.langchain4j.model.openai.internal.chat.Message
- role() - Method in class dev.langchain4j.model.openai.internal.chat.SystemMessage
- role() - Method in class dev.langchain4j.model.openai.internal.chat.ToolMessage
- role() - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage
- role(String) - Method in class dev.langchain4j.model.openai.internal.chat.Delta.Builder
- Role - Enum Class in dev.langchain4j.model.openai.internal.chat
S
- schema(Map<String, Object>) - Method in class dev.langchain4j.model.openai.internal.chat.JsonSchema.Builder
- seed() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- seed() - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
- seed(Integer) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- seed(Integer) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- seed(Integer) - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- seed(Integer) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- selfHarm() - Method in class dev.langchain4j.model.openai.internal.moderation.Categories
- selfHarm() - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores
- selfHarm(Boolean) - Method in class dev.langchain4j.model.openai.internal.moderation.Categories.Builder
- selfHarm(Double) - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores.Builder
- ServiceHelper - Class in dev.langchain4j.model.openai.internal.spi
- ServiceHelper() - Constructor for class dev.langchain4j.model.openai.internal.spi.ServiceHelper
- serviceTier() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- serviceTier() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse
- serviceTier() - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
- serviceTier() - Method in class dev.langchain4j.model.openai.OpenAiChatResponseMetadata
- serviceTier(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- serviceTier(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse.Builder
- serviceTier(String) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- serviceTier(String) - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- serviceTier(String) - Method in class dev.langchain4j.model.openai.OpenAiChatResponseMetadata.Builder
- serviceTier(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- sexual() - Method in class dev.langchain4j.model.openai.internal.moderation.Categories
- sexual() - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores
- sexual(Boolean) - Method in class dev.langchain4j.model.openai.internal.moderation.Categories.Builder
- sexual(Double) - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores.Builder
- sexualMinors() - Method in class dev.langchain4j.model.openai.internal.moderation.Categories
- sexualMinors() - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores
- sexualMinors(Boolean) - Method in class dev.langchain4j.model.openai.internal.moderation.Categories.Builder
- sexualMinors(Double) - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores.Builder
- size(String) - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest.Builder
- size(String) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- stop() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- stop() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- stop(String...) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- stop(List<String>) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- stop(List<String>) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- stop(List<String>) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- stop(List<String>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- store() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- store() - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
- store(Boolean) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- store(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- store(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- store(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- stream() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- stream() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- stream(Boolean) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- stream(Boolean) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- StreamingCompletionHandling - Interface in dev.langchain4j.model.openai.internal
- StreamingResponseHandling - Interface in dev.langchain4j.model.openai.internal
- streamOptions() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- streamOptions() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- streamOptions(StreamOptions) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- streamOptions(StreamOptions) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- StreamOptions - Class in dev.langchain4j.model.openai.internal.shared
- StreamOptions(StreamOptions.Builder) - Constructor for class dev.langchain4j.model.openai.internal.shared.StreamOptions
- StreamOptions.Builder - Class in dev.langchain4j.model.openai.internal.shared
- strict() - Method in class dev.langchain4j.model.openai.internal.chat.Function
- strict(Boolean) - Method in class dev.langchain4j.model.openai.internal.chat.Function.Builder
- strict(Boolean) - Method in class dev.langchain4j.model.openai.internal.chat.JsonSchema.Builder
- strictJsonSchema(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- strictJsonSchema(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- strictTools(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- strictTools(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- style(String) - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest.Builder
- style(String) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- suffix() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- suffix(String) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- supportedCapabilities() - Method in class dev.langchain4j.model.openai.OpenAiChatModel
- supportedCapabilities(Capability...) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- supportedCapabilities(Set<Capability>) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- SyncOrAsync<ResponseContent> - Interface in dev.langchain4j.model.openai.internal
- SyncOrAsyncOrStreaming<ResponseContent> - Interface in dev.langchain4j.model.openai.internal
- SYSTEM - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.Role
- systemFingerprint() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse
- systemFingerprint() - Method in class dev.langchain4j.model.openai.OpenAiChatResponseMetadata
- systemFingerprint(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse.Builder
- systemFingerprint(String) - Method in class dev.langchain4j.model.openai.OpenAiChatResponseMetadata.Builder
- SystemMessage - Class in dev.langchain4j.model.openai.internal.chat
- SystemMessage(SystemMessage.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.SystemMessage
- SystemMessage.Builder - Class in dev.langchain4j.model.openai.internal.chat
T
- temperature() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- temperature() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- temperature(Double) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- temperature(Double) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- temperature(Double) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- temperature(Double) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- temperature(Double) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- temperature(Double) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
- text() - Method in class dev.langchain4j.model.openai.internal.chat.Content
- text() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionChoice
- text() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse
-
Convenience method to get the text from the first choice.
- text(String) - Method in class dev.langchain4j.model.openai.internal.chat.Content.Builder
- text(String) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionChoice.Builder
- TEXT - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.ContentType
- TEXT - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.ResponseFormatType
- TEXT_EMBEDDING_3_LARGE - Enum constant in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
- TEXT_EMBEDDING_3_SMALL - Enum constant in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
- TEXT_EMBEDDING_ADA_002 - Enum constant in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
- TEXT_MODERATION_LATEST - Enum constant in enum class dev.langchain4j.model.openai.OpenAiModerationModelName
- TEXT_MODERATION_STABLE - Enum constant in enum class dev.langchain4j.model.openai.OpenAiModerationModelName
- textOffset() - Method in class dev.langchain4j.model.openai.internal.completion.Logprobs
- textOffset(List<Integer>) - Method in class dev.langchain4j.model.openai.internal.completion.Logprobs.Builder
- timeout(Duration) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- timeout(Duration) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- timeout(Duration) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- timeout(Duration) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel.OpenAiLanguageModelBuilder
- timeout(Duration) - Method in class dev.langchain4j.model.openai.OpenAiModerationModel.OpenAiModerationModelBuilder
- timeout(Duration) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- timeout(Duration) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel.OpenAiStreamingLanguageModelBuilder
- toBuilder() - Method in class dev.langchain4j.model.openai.OpenAiChatResponseMetadata
- toFunctions(Collection<ToolSpecification>) - Static method in class dev.langchain4j.model.openai.internal.OpenAiUtils
-
Deprecated.
- tokenLogprobs() - Method in class dev.langchain4j.model.openai.internal.completion.Logprobs
- tokenLogprobs(List<Double>) - Method in class dev.langchain4j.model.openai.internal.completion.Logprobs.Builder
- tokens() - Method in class dev.langchain4j.model.openai.internal.completion.Logprobs
- tokens(List<String>) - Method in class dev.langchain4j.model.openai.internal.completion.Logprobs.Builder
- tokenUsage() - Method in class dev.langchain4j.model.openai.OpenAiChatResponseMetadata
- tokenUsageFrom(Usage) - Static method in class dev.langchain4j.model.openai.internal.OpenAiUtils
- Tool - Class in dev.langchain4j.model.openai.internal.chat
- Tool(Tool.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.Tool
- TOOL - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.Role
- Tool.Builder - Class in dev.langchain4j.model.openai.internal.chat
- ToolCall - Class in dev.langchain4j.model.openai.internal.chat
- ToolCall(ToolCall.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.ToolCall
- ToolCall.Builder - Class in dev.langchain4j.model.openai.internal.chat
- toolCallId() - Method in class dev.langchain4j.model.openai.internal.chat.ToolMessage
- toolCallId(String) - Method in class dev.langchain4j.model.openai.internal.chat.ToolMessage.Builder
- toolCalls() - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage
- toolCalls() - Method in class dev.langchain4j.model.openai.internal.chat.Delta
- toolCalls(ToolCall...) - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage.Builder
- toolCalls(List<ToolCall>) - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage.Builder
- toolCalls(List<ToolCall>) - Method in class dev.langchain4j.model.openai.internal.chat.Delta.Builder
- toolChoice() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- toolChoice(ToolChoiceMode) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- toolChoice(Object) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- toolChoice(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- ToolChoice - Class in dev.langchain4j.model.openai.internal.chat
- ToolChoice(ToolChoice.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.ToolChoice
- ToolChoice.Builder - Class in dev.langchain4j.model.openai.internal.chat
- ToolChoiceMode - Enum Class in dev.langchain4j.model.openai.internal.chat
- ToolMessage - Class in dev.langchain4j.model.openai.internal.chat
- ToolMessage(ToolMessage.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.ToolMessage
- ToolMessage.Builder - Class in dev.langchain4j.model.openai.internal.chat
- tools() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- tools(Tool...) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- tools(List<Tool>) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- ToolType - Enum Class in dev.langchain4j.model.openai.internal.chat
- toOpenAiChatRequest(ChatRequest, OpenAiChatRequestParameters, Boolean, Boolean) - Static method in class dev.langchain4j.model.openai.internal.OpenAiUtils
- toOpenAiMessage(ChatMessage) - Static method in class dev.langchain4j.model.openai.internal.OpenAiUtils
- toOpenAiMessages(List<ChatMessage>) - Static method in class dev.langchain4j.model.openai.internal.OpenAiUtils
- toOpenAiToolChoice(ToolChoice) - Static method in class dev.langchain4j.model.openai.internal.OpenAiUtils
- topLogprobs() - Method in class dev.langchain4j.model.openai.internal.completion.Logprobs
- topLogprobs(List<Map<String, Double>>) - Method in class dev.langchain4j.model.openai.internal.completion.Logprobs.Builder
- topP() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- topP() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- topP(Double) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- topP(Double) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- topP(Double) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- topP(Double) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.AssistantMessage
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionChoice
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.Content
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.Delta
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.Function
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.FunctionCall
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.FunctionMessage
-
Deprecated.
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.ImageUrl
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.InputAudio
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.JsonSchema
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.ResponseFormat
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.SystemMessage
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.Tool
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.ToolCall
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.ToolChoice
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.ToolMessage
- toString() - Method in class dev.langchain4j.model.openai.internal.chat.UserMessage
- toString() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionChoice
- toString() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- toString() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse
- toString() - Method in class dev.langchain4j.model.openai.internal.completion.Logprobs
- toString() - Method in class dev.langchain4j.model.openai.internal.embedding.Embedding
- toString() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest
- toString() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse
- toString() - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest
- toString() - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesResponse
- toString() - Method in class dev.langchain4j.model.openai.internal.image.ImageData
- toString() - Method in class dev.langchain4j.model.openai.internal.moderation.Categories
- toString() - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores
- toString() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationRequest
- toString() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResponse
- toString() - Method in class dev.langchain4j.model.openai.internal.moderation.ModerationResult
- toString() - Method in class dev.langchain4j.model.openai.internal.shared.CompletionTokensDetails
- toString() - Method in class dev.langchain4j.model.openai.internal.shared.PromptTokensDetails
- toString() - Method in class dev.langchain4j.model.openai.internal.shared.StreamOptions
- toString() - Method in class dev.langchain4j.model.openai.internal.shared.Usage
- toString() - Method in enum class dev.langchain4j.model.openai.OpenAiChatModelName
- toString() - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
- toString() - Method in class dev.langchain4j.model.openai.OpenAiChatResponseMetadata
- toString() - Method in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
- toString() - Method in enum class dev.langchain4j.model.openai.OpenAiImageModelName
- toString() - Method in enum class dev.langchain4j.model.openai.OpenAiLanguageModelName
- toString() - Method in enum class dev.langchain4j.model.openai.OpenAiModerationModelName
- toString() - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.InputTokensDetails
- toString() - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.OutputTokensDetails
- toString() - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage
- totalTokenCount(Integer) - Method in class dev.langchain4j.model.openai.OpenAiTokenUsage.Builder
- totalTokens() - Method in class dev.langchain4j.model.openai.internal.shared.Usage
- totalTokens(Integer) - Method in class dev.langchain4j.model.openai.internal.shared.Usage.Builder
- toTools(Collection<ToolSpecification>, boolean) - Static method in class dev.langchain4j.model.openai.internal.OpenAiUtils
- type() - Method in class dev.langchain4j.model.openai.internal.chat.Content
- type() - Method in class dev.langchain4j.model.openai.internal.chat.ResponseFormat
- type() - Method in class dev.langchain4j.model.openai.internal.chat.Tool
- type() - Method in class dev.langchain4j.model.openai.internal.chat.ToolCall
- type(ContentType) - Method in class dev.langchain4j.model.openai.internal.chat.Content.Builder
- type(ResponseFormatType) - Method in class dev.langchain4j.model.openai.internal.chat.ResponseFormat.Builder
- type(ToolType) - Method in class dev.langchain4j.model.openai.internal.chat.ToolCall.Builder
U
- url() - Method in class dev.langchain4j.model.openai.internal.image.ImageData
- url(String) - Method in class dev.langchain4j.model.openai.internal.chat.ImageUrl.Builder
- url(URI) - Method in class dev.langchain4j.model.openai.internal.image.ImageData.Builder
- url(URI) - Method in class dev.langchain4j.model.openai.internal.image.ImageData
- usage() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse
- usage() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse
- usage() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse
- usage(Usage) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionResponse.Builder
- usage(Usage) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionResponse.Builder
- usage(Usage) - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingResponse.Builder
- Usage - Class in dev.langchain4j.model.openai.internal.shared
- Usage(Usage.Builder) - Constructor for class dev.langchain4j.model.openai.internal.shared.Usage
- Usage.Builder - Class in dev.langchain4j.model.openai.internal.shared
- user() - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest
- user() - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest
- user() - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest
- user() - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters
- user(String) - Method in class dev.langchain4j.model.openai.internal.chat.ChatCompletionRequest.Builder
- user(String) - Method in class dev.langchain4j.model.openai.internal.completion.CompletionRequest.Builder
- user(String) - Method in class dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest.Builder
- user(String) - Method in class dev.langchain4j.model.openai.internal.image.GenerateImagesRequest.Builder
- user(String) - Method in class dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
- user(String) - Method in class dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- user(String) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- user(String) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- user(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder
- USER - Enum constant in enum class dev.langchain4j.model.openai.internal.chat.Role
- userAgent - Variable in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- userAgent(String) - Method in class dev.langchain4j.model.openai.internal.OpenAiClient.Builder
- UserMessage - Class in dev.langchain4j.model.openai.internal.chat
- UserMessage(UserMessage.Builder) - Constructor for class dev.langchain4j.model.openai.internal.chat.UserMessage
- UserMessage.Builder - Class in dev.langchain4j.model.openai.internal.chat
V
- validate(ChatRequestParameters) - Static method in class dev.langchain4j.model.openai.internal.OpenAiUtils
- valueOf(String) - Static method in enum class dev.langchain4j.model.openai.internal.chat.ContentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.openai.internal.chat.ImageDetail
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.openai.internal.chat.ResponseFormatType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.openai.internal.chat.Role
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.openai.internal.chat.ToolChoiceMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.openai.internal.chat.ToolType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.openai.OpenAiChatModelName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.openai.OpenAiEmbeddingModelName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.openai.OpenAiImageModelName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.openai.OpenAiLanguageModelName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.langchain4j.model.openai.OpenAiModerationModelName
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.langchain4j.model.openai.internal.chat.ContentType
-
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.openai.internal.chat.ImageDetail
-
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.openai.internal.chat.ResponseFormatType
-
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.openai.internal.chat.Role
-
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.openai.internal.chat.ToolChoiceMode
-
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.openai.internal.chat.ToolType
-
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.openai.OpenAiChatModelName
-
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.openai.OpenAiEmbeddingModelName
-
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.openai.OpenAiImageModelName
-
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.openai.OpenAiLanguageModelName
-
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.openai.OpenAiModerationModelName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- violence() - Method in class dev.langchain4j.model.openai.internal.moderation.Categories
- violence() - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores
- violence(Boolean) - Method in class dev.langchain4j.model.openai.internal.moderation.Categories.Builder
- violence(Double) - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores.Builder
- violenceGraphic() - Method in class dev.langchain4j.model.openai.internal.moderation.Categories
- violenceGraphic() - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores
- violenceGraphic(Boolean) - Method in class dev.langchain4j.model.openai.internal.moderation.Categories.Builder
- violenceGraphic(Double) - Method in class dev.langchain4j.model.openai.internal.moderation.CategoryScores.Builder
All Classes and Interfaces|All Packages|Constant Field Values
OpenAiUtils.toTools(Collection, boolean)
instead