Skip to content

Commit 1cb7d7c

Browse files
HudsonSchumakerchedim
authored andcommitted
Update advisors.adoc (spring-projects#3552)
Auto-cherry-pick to 1.0.x Signed-off-by: Hudson Luiz Sales Schumaker <[email protected]>
1 parent 3685ae7 commit 1cb7d7c

File tree

1 file changed

+2
-2
lines changed
  • spring-ai-docs/src/main/antora/modules/ROOT/pages/api

1 file changed

+2
-2
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/advisors.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You can configure existing advisors using the xref:api/chatclient.adoc#_advisor_
1414
var chatClient = ChatClient.builder(chatModel)
1515
.defaultAdvisors(
1616
MessageChatMemoryAdvisor.builder(chatMemory).build(), // chat-memory advisor
17-
QuestionAnswerAdvisor.builder((vectorStore).builder() // RAG advisor
17+
QuestionAnswerAdvisor.builder(vectorStore).build() // RAG advisor
1818
)
1919
.build();
2020
@@ -421,4 +421,4 @@ public AdvisedResponse aroundCall(AdvisedRequest advisedRequest, CallAroundAdvis
421421
422422
// Method implementation continues...
423423
}
424-
----
424+
----

0 commit comments

Comments
 (0)