Skip to content

Commit a5fa666

Browse files
HudsonSchumakerspring-builds
authored andcommitted
Update advisors.adoc (#3552)
Signed-off-by: Hudson Luiz Sales Schumaker <hudson.schumaker@me.com> (cherry picked from commit 97b91f5)
1 parent 530ef30 commit a5fa666

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)