SystemPromptTemplate removes double curly braces {{ }} when rendering prompts #3722
Unanswered
SaurabhDesaiCeloxis
asked this question in
Q&A
Replies: 1 comment
-
Hi @SaurabhDesaiCeloxis, I replied to you in the issue with the same question: #3721 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
When using
SystemPromptTemplate
in Spring AI, any usage of double curly braces like{{ this is my line }}
gets removed entirely in the final output, instead of escaping to{ this is my line }
or remaining as-is.Sample code
Expected output
{ this is my line }
Actual output
this is my line
Is there anything I am doing wrong here, or can anyone explain why this is happening?
Beta Was this translation helpful? Give feedback.
All reactions