Class OpenAiResponsesChatModel.Builder
java.lang.Object
dev.langchain4j.model.openai.OpenAiResponsesChatModel.Builder
- Enclosing class:
OpenAiResponsesChatModel
-
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) 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
-
baseUrl
-
apiKey
-
organizationId
-
modelName
-
temperature
-
topP
-
maxOutputTokens
-
maxToolCalls
-
parallelToolCalls
-
previousResponseId
-
topLogprobs
-
truncation
-
include
-
serviceTier
-
safetyIdentifier
-
promptCacheKey
-
promptCacheRetention
-
reasoningEffort
-
reasoningSummary
-
textVerbosity
-
store
-
strictTools
-
strictJsonSchema
-
responseFormat
-
toolSpecifications
public OpenAiResponsesChatModel.Builder toolSpecifications(List<ToolSpecification> toolSpecifications) -
toolSpecifications
-
toolChoice
-
logRequests
-
logResponses
-
listeners
-
listeners
-
defaultRequestParameters
-
build
-