-
Notifications
You must be signed in to change notification settings - Fork 16
feat: [DevOps] Poc RPT #732
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
base: main
Are you sure you want to change the base?
Conversation
PoC RPTImportant Mentions:
|
| import lombok.AccessLevel; | ||
| import lombok.RequiredArgsConstructor; | ||
| import lombok.val; | ||
| import org.springframework.http.client.BufferingClientHttpRequestFactory; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Question)
Can we use the new generator without spring dependencies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I am working on the related cloud sdk item to fix spring optionality first. Then, later make use of the same in the new module client
| <module>core-services/document-grounding</module> | ||
| <module>core-services/prompt-registry</module> | ||
| <module>foundation-models/openai</module> | ||
| <module>foundation-models/sap-rpt</module> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Major)
The PR title says "PoC", therefore the module shouldn't be released at this level of confidence.
E.g.
<profile>
<id>non-release</id>
<activation>
<property>
<name>!release</name>
</property>
</activation>
<modules>
<module>sample-code/spring-app</module>
+ <module>foundation-models/sap-rpt</module>
</modules>
</profile>| * | ||
| * <p>A REST API for in-context learning with the SAP-RPT-1 model. | ||
| */ | ||
| public class DefaultApi extends AbstractOpenApiService { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the spec is currently missing a tag, so the generated api class gets a default name DefaultApi.
Jonas-Isr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly minor issues. Looks pretty good :)
| * | ||
| * <p>A REST API for in-context learning with the SAP-RPT-1 model. | ||
| */ | ||
| public class DefaultApi extends AbstractOpenApiService { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Minor/Question)
This is a very non-descriptive class name (which does not come from the spec itself as far as I can see). Does it make sense to rename that when generating?
Context
AI/ai-sdk-java-backlog#350.
PoC for supporting the latest SAP RPT (Tabular AI) service
Feature scope:
foundationmodelsmodulesap-rptintroducedRptClientandRptModelclassDefinition of Done
Aligned changes with the JavaScript SDK