Uses of Class
dev.langchain4j.model.openai.OpenAiPromptCacheOptions
Packages that use OpenAiPromptCacheOptions
-
Uses of OpenAiPromptCacheOptions in dev.langchain4j.model.openai
Methods in dev.langchain4j.model.openai that return OpenAiPromptCacheOptionsModifier and TypeMethodDescriptionOpenAiPromptCacheOptions.Builder.build()static OpenAiPromptCacheOptionsOpenAiPromptCacheOptions.explicit()Creates options withOpenAiPromptCacheOptions.MODE_EXPLICIT.static OpenAiPromptCacheOptionsOpenAiPromptCacheOptions.implicit()Creates options withOpenAiPromptCacheOptions.MODE_IMPLICIT.OpenAiChatRequestParameters.promptCacheOptions()Returnsprompt_cache_options, supported bygpt-5.6and later.OpenAiResponsesChatRequestParameters.promptCacheOptions()Returnsprompt_cache_options, supported bygpt-5.6and later.Methods in dev.langchain4j.model.openai with parameters of type OpenAiPromptCacheOptionsModifier and TypeMethodDescriptionOpenAiChatModel.OpenAiChatModelBuilder.promptCacheOptions(OpenAiPromptCacheOptions promptCacheOptions) OpenAiChatRequestParameters.Builder.promptCacheOptions(OpenAiPromptCacheOptions promptCacheOptions) OpenAiResponsesChatModel.Builder.promptCacheOptions(OpenAiPromptCacheOptions promptCacheOptions) OpenAiResponsesChatRequestParameters.Builder.promptCacheOptions(OpenAiPromptCacheOptions promptCacheOptions) OpenAiResponsesStreamingChatModel.Builder.promptCacheOptions(OpenAiPromptCacheOptions promptCacheOptions) OpenAiStreamingChatModel.OpenAiStreamingChatModelBuilder.promptCacheOptions(OpenAiPromptCacheOptions promptCacheOptions)