Uses of Class
dev.langchain4j.model.openai.OpenAiChatModel.OpenAiChatModelBuilder
-
Uses of OpenAiChatModel.OpenAiChatModelBuilder in dev.langchain4j.model.openai
Modifier and TypeMethodDescriptionOpenAiChatModel.builder()
OpenAiChatModel.OpenAiChatModelBuilder.customHeaders
(Map<String, String> customHeaders) OpenAiChatModel.OpenAiChatModelBuilder.defaultRequestParameters
(ChatRequestParameters parameters) Sets default commonChatRequestParameters
or OpenAI-specificOpenAiChatRequestParameters
.OpenAiChatModel.OpenAiChatModelBuilder.frequencyPenalty
(Double frequencyPenalty) OpenAiChatModel.OpenAiChatModelBuilder.listeners
(List<ChatModelListener> listeners) OpenAiChatModel.OpenAiChatModelBuilder.logRequests
(Boolean logRequests) OpenAiChatModel.OpenAiChatModelBuilder.logResponses
(Boolean logResponses) OpenAiChatModel.OpenAiChatModelBuilder.maxCompletionTokens
(Integer maxCompletionTokens) OpenAiChatModel.OpenAiChatModelBuilder.maxRetries
(Integer maxRetries) OpenAiChatModel.OpenAiChatModelBuilder.modelName
(OpenAiChatModelName modelName) OpenAiChatModel.OpenAiChatModelBuilder.organizationId
(String organizationId) OpenAiChatModel.OpenAiChatModelBuilder.parallelToolCalls
(Boolean parallelToolCalls) OpenAiChatModel.OpenAiChatModelBuilder.presencePenalty
(Double presencePenalty) OpenAiChatModel.OpenAiChatModelBuilder.responseFormat
(String responseFormat) OpenAiChatModel.OpenAiChatModelBuilder.serviceTier
(String serviceTier) OpenAiChatModel.OpenAiChatModelBuilder.strictJsonSchema
(Boolean strictJsonSchema) OpenAiChatModel.OpenAiChatModelBuilder.strictTools
(Boolean strictTools) OpenAiChatModel.OpenAiChatModelBuilder.temperature
(Double temperature)