-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update OpenAI test payload #70
Conversation
"created": 1719300073, | ||
"id": "chatcmpl-9dumHtDEyysGFnknk17n4Lt37tg7T", | ||
"model": "gpt-4-32k", | ||
"content": "I'm an AI and cannot answer that question as beauty is subjective and varies from person to person.", |
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.
There is a new field content
which is not in the Azure spec, neither in the OpenAI documentation
Also, I found no place that documents the change from selfHarm
to self_harm
.
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 expect this content
to be a serialization mistake somewhere.
Currently, we're not parsing this new field, and we're not planning to do so.
@@ -24,13 +25,13 @@ | |||
"filtered": false, | |||
"severity": "safe" | |||
}, | |||
"selfHarm": null, | |||
"self_harm": { |
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.
(Comment)
looks like spec was corrected to proper snake_case
Context
AI/ai-sdk-java-backlog#66.
Updated the outdated unit test payload for OpenAI.
Feature scope:
Definition of Done
Aligned changes with the JavaScript SDKDocumentation updatedRelease notes updated