From 4ce0e0fb60a42444503ab1d94ecd4f8ed9339c99 Mon Sep 17 00:00:00 2001 From: wellCh4n Date: Fri, 10 Jan 2025 11:24:48 +0800 Subject: [PATCH] Fix sample code indent --- .../api/chat/functions/openai-chat-functions.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/openai-chat-functions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/openai-chat-functions.adoc index 22dbc9e4359..bef52710a89 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/openai-chat-functions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/openai-chat-functions.adoc @@ -122,11 +122,11 @@ static class Config { @Bean public FunctionCallback weatherFunctionInfo() { - return FunctionCallback.builder() - .function("CurrentWeather", new MockWeatherService()) // (1) function name and instance - .description("Get the weather in location") // (2) function description - .inputType(MockWeatherService.Request.class) // (3) function input type - .build(); + return FunctionCallback.builder() + .function("CurrentWeather", new MockWeatherService()) // (1) function name and instance + .description("Get the weather in location") // (2) function description + .inputType(MockWeatherService.Request.class) // (3) function input type + .build(); } }