From 8cd64bc1f45a2f1a0f22c827d65618372c6edd7f Mon Sep 17 00:00:00 2001 From: YunKui Lu Date: Tue, 3 Jun 2025 06:30:35 +0800 Subject: [PATCH] docs: Remove duplicate `NoOpTemplateRenderer` mention in chatclient.adoc (#3414) Fixes: #3414 Signed-off-by: YunKui Lu (cherry picked from commit 12bd905413b6a3d87620cff695ba629202aaa5a1) --- .../src/main/antora/modules/ROOT/pages/api/chatclient.adoc | 2 -- 1 file changed, 2 deletions(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chatclient.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chatclient.adoc index 7455a0772..92541ab74 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chatclient.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chatclient.adoc @@ -336,8 +336,6 @@ By default, Spring AI uses the `StTemplateRenderer` implementation, which is bas Spring AI also provides a `NoOpTemplateRenderer` for cases where no template processing is desired. -Spring AI also provides a `NoOpTemplateRenderer`. - 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()`). 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]).