-
Notifications
You must be signed in to change notification settings - Fork 20
chore: Remove @Beta annotations
#875
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,7 +25,6 @@ | |
| * | ||
| * @since 1.20.0 | ||
| */ | ||
| @Beta | ||
| @JsonSerialize(using = BatchInputSerializer.class) | ||
| public class OpenAiBatchInput { | ||
| private static final ObjectMapper mapper = getDefaultObjectMapper(); | ||
|
|
@@ -38,6 +37,7 @@ public class OpenAiBatchInput { | |
| * | ||
| * @param chatCompletionRequests the list of chat completion requests to include in the batch | ||
| */ | ||
| @Beta | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (Question) What is the rational behind removing the tag on the class level but keeping it on this specific method? |
||
| public OpenAiBatchInput(@Nonnull final OpenAiChatCompletionRequest... chatCompletionRequests) { | ||
| for (int i = 0; i < chatCompletionRequests.length; i++) { | ||
| val request = chatCompletionRequests[i]; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,7 +19,6 @@ | |
| * | ||
| * @since 1.2.0 | ||
| */ | ||
| @Beta | ||
| @NoArgsConstructor(access = AccessLevel.NONE) | ||
| public class OrchestrationJacksonConfiguration { | ||
|
|
||
|
|
@@ -32,6 +31,7 @@ public class OrchestrationJacksonConfiguration { | |
| * href="https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/converter/json/Jackson2ObjectMapperBuilder.html">Jackson2ObjectMapperBuilder</a> | ||
| */ | ||
| @Nonnull | ||
| @Beta | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (Question) Why do you move the tag here? |
||
| public static ObjectMapper getOrchestrationObjectMapper() { | ||
|
|
||
| final var 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.
(minor)
Keep this beta tag since it extends unstable (generated) code
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.
We said generated code will not be annotated as 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.
Yes, but this is not generated code and also for users does not look like generated code. So the instability of the API might not be obvious to users.