docs: Remove duplicate NoOpTemplateRenderer mention in chatclient.adoc (#3414)
Fixes: #3414
Signed-off-by: YunKui Lu <luyunkui95@gmail.com>
(cherry picked from commit 12bd905413)
This commit is contained in:
@@ -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]).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user