Skip to content
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

[Vertex AI] Remove SafetyFeedback struct #13666

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

andrewheard
Copy link
Contributor

Removed the SafetyFeedback struct from the Vertex AI SDK since it isn't used anywhere. This also means that SafetyRating.HarmProbability, SafetySetting and SafetySetting.BlockThreshold and no longer need to be Codable since they are exclusively used for request (Encodable) or response (Decodable) types.

#no-changelog

@andrewheard
Copy link
Contributor Author

@paulb777 Should this have a changelog entry? Although it was completely useless it was a public struct.

Copy link
Member

@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

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

No changelog necessary if there was no practical usage of the public APIs

Looks like SPM is still broken on GHA

@andrewheard
Copy link
Contributor Author

No changelog necessary if there was no practical usage of the public APIs

SGTM

Looks like SPM is still broken on GHA

I noticed earlier with Nick's PR that it did work on re-run (seems to be running here now too) so the GHA failures are intermittent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants