generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 16
feat: support using RG scoped prompt templates #722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
7f9397b
Updating TemplateConfig.java.
n-o-u-r-h-a-n 8f9b5ca
Merge branch 'main' into support-using-RG
n-o-u-r-h-a-n 9f6138c
Merge branch 'main' into support-using-RG
n-o-u-r-h-a-n 60881ea
Merge branch 'main' into support-using-RG
n-o-u-r-h-a-n 731a02a
Merge branch 'main' into support-using-RG
n-o-u-r-h-a-n 3a84ad7
rolling back
n-o-u-r-h-a-n 35004bb
Merge branch 'main' into support-using-RG
n-o-u-r-h-a-n 49be7aa
Orchestration Convenience RG-Scoped Prompt Templates
n-o-u-r-h-a-n 230fe5d
Merge branch 'main' into support-using-RG
n-o-u-r-h-a-n 9065cbf
Merge branch 'main' into support-using-RG
n-o-u-r-h-a-n fe3817a
Merge branch 'main' into support-using-RG
n-o-u-r-h-a-n cb1ac38
Triggering
n-o-u-r-h-a-n 0642127
Merge remote-tracking branch 'origin/support-using-RG' into support-u…
n-o-u-r-h-a-n c288e4d
Triggering 2
n-o-u-r-h-a-n 536a917
Rolling back renaming avoiding API breakage.
n-o-u-r-h-a-n 3c6f4e0
Formatting
bot-sdk-js d7a360f
Merge branch 'main' into support-using-RG
n-o-u-r-h-a-n 3b97f7c
Changing RG id + minor format
n-o-u-r-h-a-n abdd0fb
Changing API Approach
n-o-u-r-h-a-n 89c6f96
Formatting
bot-sdk-js f6ea67a
Adding JavaDocs + Formatting
n-o-u-r-h-a-n 8d72f4e
Merge remote-tracking branch 'origin/support-using-RG' into support-u…
n-o-u-r-h-a-n 416e8c9
Merge branch 'main' into support-using-RG
n-o-u-r-h-a-n 66b27ed
Removing LLM with Image Support
n-o-u-r-h-a-n e7ceaa0
Merge remote-tracking branch 'origin/support-using-RG' into support-u…
n-o-u-r-h-a-n acf6003
Updating release notes
n-o-u-r-h-a-n 8c09db8
Making exception error message clearer
n-o-u-r-h-a-n 4cb9d58
Merge branch 'main' into support-using-RG
n-o-u-r-h-a-n 6787c53
Making exception error message clearer
n-o-u-r-h-a-n 258acfe
Merge remote-tracking branch 'origin/support-using-RG' into support-u…
n-o-u-r-h-a-n 1e3e695
Merge branch 'main' into support-using-RG
Jonas-Isr c64349e
Update orchestration/src/main/java/com/sap/ai/sdk/orchestration/Orche…
n-o-u-r-h-a-n 75d695e
Update docs/release_notes.md
n-o-u-r-h-a-n 7e8d63e
Formatting
bot-sdk-js 01361b0
updating javadoc
n-o-u-r-h-a-n 3d5d22b
Merge remote-tracking branch 'origin/support-using-RG' into support-u…
n-o-u-r-h-a-n b56576d
fixing error message
n-o-u-r-h-a-n ed440cf
reverting coverage checks
n-o-u-r-h-a-n File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
orchestration/src/test/resources/__files/templateReferenceResourceGroupResponse.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| { | ||
| "request_id": "921f38b7-3434-9171-85df-27be1b7fca3c", | ||
| "intermediate_results": { | ||
| "templating": [ | ||
| { | ||
| "role": "system", | ||
| "content": "You classify input text into the two following categories: Finance, Tech, Sports" | ||
| }, | ||
| { | ||
| "content": "What's the latest news on the stock market?", | ||
| "role": "user" | ||
| } | ||
| ], | ||
| "llm": { | ||
| "id": "", | ||
| "object": "chat.completion", | ||
| "created": 1769424215, | ||
| "model": "gemini-2.5-flash", | ||
| "choices": [ | ||
| { | ||
| "index": 0, | ||
| "message": { | ||
| "role": "assistant", | ||
| "content": "Finance" | ||
| }, | ||
| "finish_reason": "stop" | ||
| } | ||
| ], | ||
| "usage": { | ||
| "completion_tokens": 154, | ||
| "prompt_tokens": 26, | ||
| "total_tokens": 180, | ||
| "prompt_tokens_details": { | ||
| "cached_tokens": 0 | ||
| }, | ||
| "completion_tokens_details": { | ||
| "reasoning_tokens": 153 | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "final_result": { | ||
| "id": "", | ||
| "object": "chat.completion", | ||
| "created": 1769424215, | ||
| "model": "gemini-2.5-flash", | ||
| "choices": [ | ||
| { | ||
| "index": 0, | ||
| "message": { | ||
| "role": "assistant", | ||
| "content": "Finance" | ||
| }, | ||
| "finish_reason": "stop" | ||
| } | ||
| ], | ||
| "usage": { | ||
| "completion_tokens": 154, | ||
| "prompt_tokens": 26, | ||
| "total_tokens": 180, | ||
| "prompt_tokens_details": { | ||
| "cached_tokens": 0 | ||
| }, | ||
| "completion_tokens_details": { | ||
| "reasoning_tokens": 153 | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.