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

Support the openai moderation adapter #376

Merged
merged 1 commit into from
May 22, 2023
Merged

Support the openai moderation adapter #376

merged 1 commit into from
May 22, 2023

Conversation

SimFG
Copy link
Collaborator

@SimFG SimFG commented May 22, 2023

issue: #366

@sre-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SimFG

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Signed-off-by: SimFG <bang.fu@zilliz.com>
@codecov
Copy link

codecov bot commented May 22, 2023

Codecov Report

Merging #376 (0067fdc) into dev (09f9107) will decrease coverage by 0.01%.
The diff coverage is 87.23%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #376      +/-   ##
==========================================
- Coverage   93.98%   93.97%   -0.01%     
==========================================
  Files          79       79              
  Lines        2625     2654      +29     
==========================================
+ Hits         2467     2494      +27     
- Misses        158      160       +2     
Impacted Files Coverage Δ
gptcache/config.py 100.00% <ø> (ø)
gptcache/core.py 91.07% <0.00%> (ø)
gptcache/embedding/huggingface.py 85.71% <ø> (ø)
gptcache/adapter/adapter.py 90.80% <83.33%> (+0.10%) ⬆️
gptcache/adapter/openai.py 92.35% <91.89%> (-0.01%) ⬇️
gptcache/processor/pre.py 100.00% <100.00%> (ø)

@SimFG SimFG merged commit a2b7466 into zilliztech:dev May 22, 2023
6 of 8 checks passed
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.

None yet

2 participants