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.Represents an OpenAI image generation model.Marks the end of a cacheable prompt prefix for
gpt-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.