From cd5684a66efcbeec08f149a06d9a5470122e4bd9 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 22dbc9e43..bef52710a 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(); } }