Skip to content

Commit 97b91f5

Browse files
Update advisors.adoc (#3552)
Auto-cherry-pick to 1.0.x Signed-off-by: Hudson Luiz Sales Schumaker <hudson.schumaker@me.com>
1 parent 384478e commit 97b91f5

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)