This commit is contained in:
努力的小雨
2025-04-29 01:34:08 +08:00
committed by GitHub
parent 51046c78dd
commit 967c1d6761

View File

@@ -270,7 +270,7 @@ MultiQueryExpander queryExpander = MultiQueryExpander.builder()
.chatClientBuilder(chatClientBuilder)
.numberOfQueries(3)
.build();
List<Query> queries = expander.expand(new Query("How to run a Spring Boot app?"));
List<Query> 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