From 71ac569f83433a55844671adca153fe3324207ff Mon Sep 17 00:00:00 2001 From: Manuel Andreo Garcia Date: Wed, 12 Mar 2025 10:21:36 +0100 Subject: [PATCH] fix azure openai chat model doc OpenAIClientBuilderCustomizer usage example Signed-off-by: Manuel Andreo Garcia --- .../antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc index c652e71e20d..e584825bc0f 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc @@ -121,7 +121,7 @@ A customizer might be used for example to change the default response timeout: public class AzureOpenAiConfig { @Bean - public OpenAIClientBuilderCustomizer responseTimeoutCustomizer() { + public AzureOpenAIClientBuilderCustomizer responseTimeoutCustomizer() { return openAiClientBuilder -> { HttpClientOptions clientOptions = new HttpClientOptions() .setResponseTimeout(Duration.ofMinutes(5));