Package dev.langchain4j.model.openaiofficial
package dev.langchain4j.model.openaiofficial
-
ClassesClassDescriptionSubmits chat requests to the OpenAI Batch API, which processes them asynchronously at a reduced cost compared to real-time requests.A
DecisionModelbacked by the OpenAI Decisions API, using the official OpenAI Java SDK.The per-call parameters of anOpenAiOfficialDecisionModelrequest.Represents an OpenAI image generation model.Marks the end of a cacheable prompt prefix forgpt-5.6and later, which match a cache entry exactly at a breakpoint instead of falling back to a shorter unmarked prefix.Represents theprompt_cache_optionsrequest object supported bygpt-5.6and later.ChatModel implementation using the official OpenAI Java client for the Responses API.StreamingChatModel implementation using the official OpenAI Java client for the Responses API.