-
Notifications
You must be signed in to change notification settings - Fork 15
chore: [OpenAI] @Beta reduction and advertising new api
#552
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
Conversation
--> Updating the OpenAiController to use updated OpenAiService class.
|
Documentation was carefully reviewed and tested locally , no updates needed as the navigation links navigate to the correct service class because the new service class has the same name as old one OpenAiService and old one was renamed to OpenAiServiceDeprecated. |
sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/controllers/OpenAiController.java
Show resolved
Hide resolved
foundation-models/openai/src/main/java/com/sap/ai/sdk/foundationmodels/openai/OpenAiClient.java
Show resolved
Hide resolved
foundation-models/openai/src/main/java/com/sap/ai/sdk/foundationmodels/openai/OpenAiClient.java
Show resolved
Hide resolved
| * @param apiVersion the API version to target. | ||
| * @return a new client. | ||
| */ | ||
| @Beta |
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)
Would keep Beta since this is for edge-cases (and we are not sure about implications?)
CharlesDuboisSAP
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.
LGTM, I would still merge advertising-new-api2 into this branch
sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/controllers/OpenAiController.java
Outdated
Show resolved
Hide resolved
* Stabilize request and response classes * Stabilize tool and embedding classes * Stabilize tool util
@Beta reduction and advertising new api
@Beta reduction and advertising new api @Beta reduction and advertising new api
…llers/OpenAiController.java
--> Stabilizing the new api
With the exception of:
Context
AI/ai-sdk-java-backlog#280.
OpenAiController was using the old OpenAiService class and there were 2 service classes.
Feature scope:
Definition of Done
Tests cover the scope aboveError handling created / updated & covered by the tests aboveAligned changes with the JavaScript SDKDocumentation updated