Skip to content

Conversation

n-o-u-r-h-a-n
Copy link
Contributor

@n-o-u-r-h-a-n n-o-u-r-h-a-n commented Aug 18, 2025

Context

AI/ai-sdk-java-backlog#275.

Being able to use Prompt Registry Templates in Spring AI with chatmemory and inputparams in response to the customer (Joule Integration).

Feature scope:

  • Adding OrchestrationSpringUtil Class with utility method which returns a prompt when given input parameters and a template name.
  • Adding a service method for that utility in the SpringAiOrchestrationService class.
    • Testing it using a test made in SpringAiOrchestrationTest class.

Definition of Done

  • Functionality scope stated & covered
  • Tests cover the scope above
  • Error handling created / updated & covered by the tests above
  • Aligned changes with the JavaScript SDK
  • Documentation updated
  • Release notes updated

Copy link
Contributor

@CharlesDuboisSAP CharlesDuboisSAP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also don't forget the index.html, release notes and documentation

n-o-u-r-h-a-n and others added 12 commits August 20, 2025 15:45
…in-SpringAi' into Using-Prompt-Registry-Templates-in-SpringAi
…in-SpringAi' into Using-Prompt-Registry-Templates-in-SpringAi

# Conflicts:
#	core-services/prompt-registry/src/test/java/com/sap/ai/sdk/prompt/registry/spring/SpringAiConverterTest.java
#	sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/controllers/PromptRegistryController.java
#	sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/services/SpringAiOrchestrationService.java
…in-SpringAi' into Using-Prompt-Registry-Templates-in-SpringAi
@n-o-u-r-h-a-n n-o-u-r-h-a-n requested a review from newtork August 21, 2025 10:37
@n-o-u-r-h-a-n n-o-u-r-h-a-n merged commit d651e8c into main Aug 22, 2025
9 checks passed
@n-o-u-r-h-a-n n-o-u-r-h-a-n deleted the Using-Prompt-Registry-Templates-in-SpringAi branch August 22, 2025 09:57
Copy link
Contributor

@newtork newtork left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants