Skip to content

Commit

Permalink
Fix incorrect model in ModerationRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
megalon committed Feb 26, 2023
1 parent bf1d255 commit 8f79b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenAI_API/Moderations/ModerationRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public ModerationRequest(Model model, string input)
/// <param name="input">The prompt to classify</param>
public ModerationRequest(string input)
{
Model = OpenAI_API.Models.Model.AdaTextEmbedding;
Model = OpenAI_API.Models.Model.TextModerationLatest;
this.Input = input;
}
}
Expand Down

0 comments on commit 8f79b2b

Please sign in to comment.