Skip to content

Conversation

@ilayaperumalg
Copy link
Member

  • Update Moderation, Generation, Categories, CategoryScores' builder method
    • deprecate the existing builder methods with the prefix with and replace them without the prefix

Thank you for taking time to contribute this pull request!
You might have already read the [contributor guide][1], but as a reminder, please make sure to:

  • Sign the contributor license agreement
  • Rebase your changes on the latest main branch and squash your commits
  • Add/Update unit tests as needed
  • Run a build and make sure all tests pass prior to submission

 - Update Moderation, Generation, Categories, CategoryScores' builder method
   - deprecate the existing builder methods with the prefix `with` and replace them without the prefix
this.moderationGenerationMetadata = moderationGenerationMetadata;
}

public Generation generationMetadata(@Nullable ModerationGenerationMetadata moderationGenerationMetadata) {
Copy link
Member

Choose a reason for hiding this comment

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

should this be nullable?

@markpollack
Copy link
Member

merged in 174a258

@markpollack markpollack added this to the 1.0.0-M5 milestone Dec 17, 2024
@markpollack markpollack self-assigned this Dec 17, 2024
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.

2 participants