Class OpenAiChatModel.Builder
java.lang.Object
org.springframework.ai.openai.OpenAiChatModel.Builder
- Enclosing class:
OpenAiChatModel
- Author:
- Mark Pollack, Christian Tzolov, Ueibin Kim, John Blum, Josh Long, Jemin Huh, Grogdunn, Hyunjoon Choi, Mariusz Bernacki, luocongqiu, Thomas Vitale, Ilayaperumal Gopinathan, Alexandros Pappas, Soby Chacko, Jonghoon Park
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()defaultOptions(OpenAiChatOptions defaultOptions) observationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) retryTemplate(org.springframework.core.retry.RetryTemplate retryTemplate) toolCallingManager(ToolCallingManager toolCallingManager) toolExecutionEligibilityPredicate(ToolExecutionEligibilityPredicate toolExecutionEligibilityPredicate)
-
Constructor Details
-
Builder
-
-
Method Details
-
openAiApi
-
defaultOptions
-
toolCallingManager
-
toolExecutionEligibilityPredicate
public OpenAiChatModel.Builder toolExecutionEligibilityPredicate(ToolExecutionEligibilityPredicate toolExecutionEligibilityPredicate) -
retryTemplate
public OpenAiChatModel.Builder retryTemplate(org.springframework.core.retry.RetryTemplate retryTemplate) -
observationRegistry
public OpenAiChatModel.Builder observationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) -
build
-