fix azure openai chat model doc OpenAIClientBuilderCustomizer usage example
Signed-off-by: Manuel Andreo Garcia <manuel@magware.dev>
This commit is contained in:
committed by
Ilayaperumal Gopinathan
parent
a3b2462f1c
commit
e4853d757a
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user