Skip to content

Conversation

@sunyuhan1998
Copy link
Contributor

As mentioned in the issue, the code example in the documentation is outdated — the constructor for PromptTemplate no longer exists in its previous form. This PR corrects that by updating it to use the Builder pattern.

Fixes #3713

@ilayaperumalg ilayaperumalg self-assigned this Jul 2, 2025
@ilayaperumalg ilayaperumalg added documentation Improvements or additions to documentation for: backport-to-1.0.x labels Jul 2, 2025
@ilayaperumalg ilayaperumalg added this to the 1.1.x milestone Jul 2, 2025
@ilayaperumalg
Copy link
Member

@sunyuhan1998 Thanks for the PR!

@ilayaperumalg ilayaperumalg merged commit f3a132e into spring-projects:main Jul 2, 2025
2 checks passed
spring-builds pushed a commit that referenced this pull request Jul 2, 2025
Fixes #3713

Signed-off-by: Sun Yuhan <[email protected]>
Co-authored-by: Sun Yuhan <[email protected]>
(cherry picked from commit f3a132e)
scionaltera pushed a commit to scionaltera/spring-ai that referenced this pull request Sep 3, 2025
…entation. (spring-projects#3717)

Auto-cherry-pick to 1.0.x
Fixes spring-projects#3713

Signed-off-by: Sun Yuhan <[email protected]>
Co-authored-by: Sun Yuhan <[email protected]>
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
…entation. (spring-projects#3717)

Auto-cherry-pick to 1.0.x
Fixes spring-projects#3713

Signed-off-by: Sun Yuhan <[email protected]>
Co-authored-by: Sun Yuhan <[email protected]>
Willam2004 pushed a commit to Willam2004/spring-ai that referenced this pull request Oct 11, 2025
…entation. (spring-projects#3717)

Auto-cherry-pick to 1.0.x
Fixes spring-projects#3713

Signed-off-by: Sun Yuhan <[email protected]>
Co-authored-by: Sun Yuhan <[email protected]>
Signed-off-by: 家娃 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation for: backport-to-1.0.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Outdated new PromptTemplate(...) calls in Documentation

2 participants