Class OpenAiResponsesStreamingChatModel.Builder
java.lang.Object
dev.langchain4j.model.openai.OpenAiResponsesStreamingChatModel.Builder
- Enclosing class:
OpenAiResponsesStreamingChatModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()defaultRequestParameters(ChatRequestParameters parameters) httpClientBuilder(HttpClientBuilder httpClientBuilder) listeners(ChatModelListener... listeners) listeners(List<ChatModelListener> listeners) logRequests(Boolean logRequests) logResponses(Boolean logResponses) maxOutputTokens(Integer maxOutputTokens) maxToolCalls(Integer maxToolCalls) organizationId(String organizationId) parallelToolCalls(Boolean parallelToolCalls) previousResponseId(String previousResponseId) promptCacheKey(String promptCacheKey) promptCacheRetention(String promptCacheRetention) reasoningEffort(String reasoningEffort) reasoningSummary(String reasoningSummary) responseFormat(ResponseFormat responseFormat) safetyIdentifier(String safetyIdentifier) serviceTier(String serviceTier) streamIncludeObfuscation(Boolean streamIncludeObfuscation) Deprecated.strictJsonSchema(Boolean strictJsonSchema) strictTools(Boolean strictTools) temperature(Double temperature) textVerbosity(String textVerbosity) toolChoice(ToolChoice toolChoice) toolSpecifications(ToolSpecification... toolSpecifications) toolSpecifications(List<ToolSpecification> toolSpecifications) topLogprobs(Integer topLogprobs) truncation(String truncation)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpClientBuilder
public OpenAiResponsesStreamingChatModel.Builder httpClientBuilder(HttpClientBuilder httpClientBuilder) -
baseUrl
-
apiKey
-
organizationId
-
modelName
-
temperature
-
topP
-
maxOutputTokens
-
maxToolCalls
-
parallelToolCalls
-
previousResponseId
-
topLogprobs
-
truncation
-
include
-
serviceTier
-
safetyIdentifier
-
promptCacheKey
-
promptCacheRetention
-
reasoningEffort
-
reasoningSummary
-
textVerbosity
-
streamIncludeObfuscation
public OpenAiResponsesStreamingChatModel.Builder streamIncludeObfuscation(Boolean streamIncludeObfuscation) -
store
-
strict
Deprecated.usestrictTools(Boolean)andstrictJsonSchema(Boolean)instead -
strictTools
-
strictJsonSchema
-
responseFormat
-
toolSpecifications
public OpenAiResponsesStreamingChatModel.Builder toolSpecifications(List<ToolSpecification> toolSpecifications) -
toolSpecifications
public OpenAiResponsesStreamingChatModel.Builder toolSpecifications(ToolSpecification... toolSpecifications) -
toolChoice
-
logRequests
-
logResponses
-
listeners
-
listeners
-
defaultRequestParameters
public OpenAiResponsesStreamingChatModel.Builder defaultRequestParameters(ChatRequestParameters parameters) -
build
-
strictTools(Boolean)andstrictJsonSchema(Boolean)instead