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

Moderation: Update Response&Request #894

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chenhhA
Copy link
Contributor

@chenhhA chenhhA commented Nov 10, 2024

Describe the change
Moderation

  • Add new response fields
  • Support new request formats

Provide OpenAI documentation link

Describe your solution

  • Add missed response filed
  • Add ModerationArrayRequest,ModerationStrArrayRequest f

Tests
modified TestModerations support three differenct reqeuest

Copy link

codecov bot commented Nov 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.87%. Comparing base (774fc9d) to head (ab83747).
Report is 70 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #894      +/-   ##
==========================================
+ Coverage   98.46%   98.87%   +0.41%     
==========================================
  Files          24       26       +2     
  Lines        1364     1778     +414     
==========================================
+ Hits         1343     1758     +415     
+ Misses         15       14       -1     
  Partials        6        6              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant