Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- aiMessageFrom(ChatCompletionResponse) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
- append(ChatCompletionResponse) - Method in class dev.langchain4j.model.openai.OpenAiStreamingResponseBuilder
- append(CompletionResponse) - Method in class dev.langchain4j.model.openai.OpenAiStreamingResponseBuilder
B
- build() - Method in class dev.langchain4j.model.openai.OpenAiStreamingResponseBuilder
- builder() - Static method in class dev.langchain4j.model.openai.OpenAiChatModel
- 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
C
- chat(ChatRequest) - Method in class dev.langchain4j.model.openai.OpenAiChatModel
D
- DALL_E_2 - Enum constant in enum dev.langchain4j.model.openai.OpenAiImageModelName
- DALL_E_2 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- DALL_E_3 - Enum constant in enum dev.langchain4j.model.openai.OpenAiImageModelName
- DALL_E_3 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- decode(List<Integer>) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
- dev.langchain4j.model.openai - package dev.langchain4j.model.openai
- dev.langchain4j.model.openai.spi - package dev.langchain4j.model.openai.spi
- dimension() - Method in enum dev.langchain4j.model.openai.OpenAiEmbeddingModelName
E
- embedAll(List<TextSegment>) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
- encode(String) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
- encode(String, int) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
- estimateTokenCount(String) - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
- estimateTokenCount(String) - Method in class dev.langchain4j.model.openai.OpenAiLanguageModel
- estimateTokenCount(String) - Method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel
- estimateTokenCount(List<ChatMessage>) - Method in class dev.langchain4j.model.openai.OpenAiChatModel
- estimateTokenCount(List<ChatMessage>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
- estimateTokenCountInForcefulToolExecutionRequest(ToolExecutionRequest) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
- estimateTokenCountInForcefulToolSpecification(ToolSpecification) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
- estimateTokenCountInMessage(ChatMessage) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
- estimateTokenCountInMessages(Iterable<ChatMessage>) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
- estimateTokenCountInText(String) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
- estimateTokenCountInToolExecutionRequests(Iterable<ToolExecutionRequest>) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
- estimateTokenCountInToolSpecifications(Iterable<ToolSpecification>) - Method in class dev.langchain4j.model.openai.OpenAiTokenizer
F
- finishReasonFrom(String) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
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
- generate(List<ChatMessage>) - Method in class dev.langchain4j.model.openai.OpenAiChatModel
- generate(List<ChatMessage>, ToolSpecification) - Method in class dev.langchain4j.model.openai.OpenAiChatModel
- generate(List<ChatMessage>, ToolSpecification, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
- generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
- generate(List<ChatMessage>, List<ToolSpecification>) - Method in class dev.langchain4j.model.openai.OpenAiChatModel
- generate(List<ChatMessage>, List<ToolSpecification>, StreamingResponseHandler<AiMessage>) - Method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
- GPT_3_5_TURBO - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_3_5_TURBO - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_3_5_TURBO_0125 - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_3_5_TURBO_0301 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_3_5_TURBO_0613 - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
-
Deprecated.
- GPT_3_5_TURBO_0613 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_3_5_TURBO_1106 - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_3_5_TURBO_1106 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_3_5_TURBO_16K - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_3_5_TURBO_16K - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_3_5_TURBO_16K_0613 - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
-
Deprecated.
- GPT_3_5_TURBO_16K_0613 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_3_5_TURBO_INSTRUCT - Enum constant in enum dev.langchain4j.model.openai.OpenAiLanguageModelName
- GPT_3_5_TURBO_INSTRUCT - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_4 - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_4_0125_PREVIEW - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_0314 - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
-
Deprecated.
- GPT_4_0314 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_4_0613 - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_0613 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_4_1106_PREVIEW - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_1106_PREVIEW - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_4_32K - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_32K - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_4_32K_0314 - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_32K_0314 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_4_32K_0613 - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_32K_0613 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- GPT_4_O - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_O_MINI - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_TURBO_PREVIEW - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
- GPT_4_VISION_PREVIEW - Enum constant in enum dev.langchain4j.model.openai.OpenAiChatModelName
-
Deprecated.
- GPT_4_VISION_PREVIEW - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
I
- InternalOpenAiHelper - Class in dev.langchain4j.model.openai
- InternalOpenAiHelper() - Constructor for class dev.langchain4j.model.openai.InternalOpenAiHelper
K
- knownDimension() - Method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
- knownDimension(String) - Static method in enum dev.langchain4j.model.openai.OpenAiEmbeddingModelName
M
- modelName() - Method in class dev.langchain4j.model.openai.OpenAiChatModel
- 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.OpenAiStreamingChatModel
- 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.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
O
- OpenAiChatModel - Class in dev.langchain4j.model.openai
-
Represents an OpenAI language model with a chat completion interface, such as gpt-3.5-turbo and gpt-4.
- OpenAiChatModel(String, String, String, String, Double, Double, List<String>, Integer, Integer, Double, Double, Map<String, Integer>, String, Boolean, Integer, String, Boolean, Boolean, Duration, Integer, Proxy, Boolean, Boolean, Tokenizer, Map<String, String>, List<ChatModelListener>) - 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 in dev.langchain4j.model.openai
- OpenAiEmbeddingModel - Class in dev.langchain4j.model.openai
-
Represents an OpenAI embedding model, such as text-embedding-ada-002.
- OpenAiEmbeddingModel(String, String, String, String, Integer, String, Duration, Integer, Proxy, Boolean, Boolean, Tokenizer, Map<String, String>) - 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 in dev.langchain4j.model.openai
- OpenAiImageModel - Class in dev.langchain4j.model.openai
-
Represents an OpenAI DALL·E models to generate artistic images.
- OpenAiImageModel(String, String, String, String, String, String, String, String, String, Duration, Integer, Proxy, Boolean, Boolean, Boolean, Path, Map<String, String>) - Constructor for class dev.langchain4j.model.openai.OpenAiImageModel
-
Instantiates OpenAI DALL·E image processing model.
- 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 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(String, String, String, String, Double, Duration, Integer, Proxy, Boolean, Boolean, Tokenizer, Map<String, String>) - Constructor for class dev.langchain4j.model.openai.OpenAiLanguageModel
- OpenAiLanguageModel.OpenAiLanguageModelBuilder - Class in dev.langchain4j.model.openai
- 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 in dev.langchain4j.model.openai
- OpenAiModelName - Class in dev.langchain4j.model.openai
-
Deprecated.
- OpenAiModelName() - Constructor for class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- OpenAiModerationModel - Class in dev.langchain4j.model.openai
-
Represents an OpenAI moderation model, such as text-moderation-latest.
- OpenAiModerationModel(String, String, String, String, Duration, Integer, Proxy, Boolean, Boolean, Map<String, String>) - 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 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-3.5-turbo and gpt-4.
- OpenAiStreamingChatModel(String, String, String, String, Double, Double, List<String>, Integer, Integer, Double, Double, Map<String, Integer>, String, Integer, String, Boolean, Boolean, Duration, Proxy, Boolean, Boolean, Tokenizer, Map<String, String>, List<ChatModelListener>) - 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(String, String, String, String, Double, Duration, Proxy, Boolean, Boolean, Tokenizer, Map<String, String>) - 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
- OpenAiTokenizer - Class in dev.langchain4j.model.openai
-
This class can be used to estimate the cost (in tokens) before calling OpenAI or when using streaming.
- OpenAiTokenizer() - Constructor for class dev.langchain4j.model.openai.OpenAiTokenizer
-
Creates an instance of the
OpenAiTokenizer
for the "gpt-3.5-turbo" model. - OpenAiTokenizer(OpenAiChatModelName) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenizer
-
Creates an instance of the
OpenAiTokenizer
for a givenOpenAiChatModelName
. - OpenAiTokenizer(OpenAiEmbeddingModelName) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenizer
-
Creates an instance of the
OpenAiTokenizer
for a givenOpenAiEmbeddingModelName
. - OpenAiTokenizer(OpenAiLanguageModelName) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenizer
-
Creates an instance of the
OpenAiTokenizer
for a givenOpenAiLanguageModelName
. - OpenAiTokenizer(String) - Constructor for class dev.langchain4j.model.openai.OpenAiTokenizer
-
Creates an instance of the
OpenAiTokenizer
for a given model name.
S
- supportedCapabilities() - Method in class dev.langchain4j.model.openai.OpenAiChatModel
T
- TEXT_EMBEDDING_3_LARGE - Enum constant in enum dev.langchain4j.model.openai.OpenAiEmbeddingModelName
- TEXT_EMBEDDING_3_SMALL - Enum constant in enum dev.langchain4j.model.openai.OpenAiEmbeddingModelName
- TEXT_EMBEDDING_ADA_002 - Enum constant in enum dev.langchain4j.model.openai.OpenAiEmbeddingModelName
- TEXT_EMBEDDING_ADA_002 - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- TEXT_MODERATION_LATEST - Enum constant in enum dev.langchain4j.model.openai.OpenAiModerationModelName
- TEXT_MODERATION_LATEST - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- TEXT_MODERATION_STABLE - Enum constant in enum dev.langchain4j.model.openai.OpenAiModerationModelName
- TEXT_MODERATION_STABLE - Static variable in class dev.langchain4j.model.openai.OpenAiModelName
-
Deprecated.
- toFunctions(Collection<ToolSpecification>) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
-
Deprecated.
- tokenUsageFrom(Usage) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
- toOpenAiMessage(ChatMessage) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
- toOpenAiMessages(List<ChatMessage>) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
- toString() - Method in enum dev.langchain4j.model.openai.OpenAiChatModelName
- toString() - Method in enum dev.langchain4j.model.openai.OpenAiEmbeddingModelName
- toString() - Method in enum dev.langchain4j.model.openai.OpenAiImageModelName
- toString() - Method in enum dev.langchain4j.model.openai.OpenAiLanguageModelName
- toString() - Method in enum dev.langchain4j.model.openai.OpenAiModerationModelName
- toTools(Collection<ToolSpecification>, boolean) - Static method in class dev.langchain4j.model.openai.InternalOpenAiHelper
V
- valueOf(String) - Static method in enum dev.langchain4j.model.openai.OpenAiChatModelName
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.langchain4j.model.openai.OpenAiEmbeddingModelName
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.langchain4j.model.openai.OpenAiImageModelName
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.langchain4j.model.openai.OpenAiLanguageModelName
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum dev.langchain4j.model.openai.OpenAiModerationModelName
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum dev.langchain4j.model.openai.OpenAiChatModelName
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum dev.langchain4j.model.openai.OpenAiEmbeddingModelName
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum dev.langchain4j.model.openai.OpenAiImageModelName
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum dev.langchain4j.model.openai.OpenAiLanguageModelName
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum dev.langchain4j.model.openai.OpenAiModerationModelName
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiChatModel
-
Deprecated.use
builder()
instead and explicitly set the model name and, if required, other parameters. - withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiEmbeddingModel
-
Deprecated.use
builder()
instead and explicitly set the model name and, if required, other parameters. - withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiImageModel
-
Deprecated.use
builder()
instead and explicitly set the model name and, if required, other parameters. - withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiLanguageModel
-
Deprecated.use
builder()
instead and explicitly set the model name and, if required, other parameters. - withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiModerationModel
-
Deprecated.use
builder()
instead and explicitly set the model name and, if required, other parameters. - withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiStreamingChatModel
-
Deprecated.use
builder()
instead and explicitly set the model name and, if required, other parameters. - withApiKey(String) - Static method in class dev.langchain4j.model.openai.OpenAiStreamingLanguageModel
-
Deprecated.use
builder()
instead and explicitly set the model name and, if required, other parameters. - withPersisting() - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
- withPersisting(Boolean) - Method in class dev.langchain4j.model.openai.OpenAiImageModel.OpenAiImageModelBuilder
All Classes and Interfaces|All Packages|Constant Field Values
InternalOpenAiHelper.toTools(Collection, boolean)
instead