diff --git a/examples/moderations/src/main.rs b/examples/moderations/src/main.rs index 74a3e01..7923992 100644 --- a/examples/moderations/src/main.rs +++ b/examples/moderations/src/main.rs @@ -1,6 +1,6 @@ use dotenvy::dotenv; use rs_openai::{ - moderations::{CreateModerationRequestBuilder, ModerationModel}, + moderations::CreateModerationRequestBuilder, OpenAI, }; use std::env::var; @@ -18,7 +18,6 @@ async fn main() -> Result<(), Box> { // create let req = CreateModerationRequestBuilder::default() .input(["Do you want to build a snowman?", "I will kill you."]) - .model(ModerationModel::Latest) .build()?; let res = client.moderations().create(&req).await?;