From 967c1d676104704242d23ba7fe791238be02e1bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8A=AA=E5=8A=9B=E7=9A=84=E5=B0=8F=E9=9B=A8?= <1316356098@qq.com> Date: Tue, 29 Apr 2025 01:34:08 +0800 Subject: [PATCH] feat (#2749) --- .../modules/ROOT/pages/api/retrieval-augmented-generation.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/retrieval-augmented-generation.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/retrieval-augmented-generation.adoc index 6364d91f5..35d20cf4f 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/retrieval-augmented-generation.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/retrieval-augmented-generation.adoc @@ -270,7 +270,7 @@ MultiQueryExpander queryExpander = MultiQueryExpander.builder() .chatClientBuilder(chatClientBuilder) .numberOfQueries(3) .build(); -List queries = expander.expand(new Query("How to run a Spring Boot app?")); +List queries = queryExpander.expand(new Query("How to run a Spring Boot app?")); ---- By default, the `MultiQueryExpander` includes the original query in the list of expanded queries. You can disable this behavior