Uses of Class
org.springframework.ai.openaisdk.OpenAiSdkChatModel.Builder
Packages that use OpenAiSdkChatModel.Builder
Package
Description
Spring AI integration with the official OpenAI Java SDK.
-
Uses of OpenAiSdkChatModel.Builder in org.springframework.ai.openaisdk
Methods in org.springframework.ai.openaisdk that return OpenAiSdkChatModel.BuilderModifier and TypeMethodDescriptionstatic OpenAiSdkChatModel.BuilderOpenAiSdkChatModel.builder()Creates a new builder forOpenAiSdkChatModel.OpenAiSdkChatModel.Builder.observationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) Sets the observation registry for metrics and tracing.OpenAiSdkChatModel.Builder.openAiClient(com.openai.client.OpenAIClient openAiClient) Sets the synchronous OpenAI client.OpenAiSdkChatModel.Builder.openAiClientAsync(com.openai.client.OpenAIClientAsync openAiClientAsync) Sets the asynchronous OpenAI client.OpenAiSdkChatModel.Builder.options(OpenAiSdkChatOptions options) Sets the chat options.OpenAiSdkChatModel.Builder.toolCallingManager(ToolCallingManager toolCallingManager) Sets the tool calling manager.OpenAiSdkChatModel.Builder.toolExecutionEligibilityPredicate(ToolExecutionEligibilityPredicate toolExecutionEligibilityPredicate) Sets the predicate to determine tool execution eligibility.