Skip to content

Commit 894befb

Browse files
YunKuiLunamsoo2
authored andcommitted
docs: Remove duplicate NoOpTemplateRenderer mention in chatclient.adoc (spring-projects#3414)
Fixes: spring-projects#3414 Auto-cherry-pick to 1.0.x Signed-off-by: YunKui Lu <[email protected]> Signed-off-by: minsoo.nam <[email protected]>
1 parent ea59490 commit 894befb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,6 @@ By default, Spring AI uses the `StTemplateRenderer` implementation, which is bas
336336

337337
Spring AI also provides a `NoOpTemplateRenderer` for cases where no template processing is desired.
338338

339-
Spring AI also provides a `NoOpTemplateRenderer`.
340-
341339
NOTE: The `TemplateRenderer` configured directly on the `ChatClient` (via `.templateRenderer()`) applies only to the prompt content defined directly in the `ChatClient` builder chain (e.g., via `.user()`, `.system()`).
342340
It does *not* affect templates used internally by xref:api/retrieval-augmented-generation.adoc#_questionansweradvisor[Advisors] like `QuestionAnswerAdvisor`, which have their own template customization mechanisms (see xref:api/retrieval-augmented-generation.adoc#_custom_template[Custom Advisor Templates]).
343341

0 commit comments

Comments
 (0)