Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbanda committed Nov 28, 2023
1 parent 6a4b67b commit 172639a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ private trait OpenAIServiceImpl extends OpenAICoreServiceImpl with OpenAIService
Param.model -> Some(settings.model),
Param.voice -> Some(settings.voice.toString),
Param.speed -> settings.speed,
Param.response_format -> settings.response_format.map(_.toString),
Param.response_format -> settings.response_format.map(_.toString)
)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ case class CreateImageEditSettings(

// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.
user: Option[String] = None
)
)
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ sealed abstract class ImageStyleType extends EnumValue()
object ImageStyleType {
case object vivid extends ImageStyleType
case object natural extends ImageStyleType
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ case class CreateSpeechSettings(

// The speed of the generated audio. Select a value from 0.25 to 4.0.
// Defaults to 1.0.
speed: Option[Double] = None,
speed: Option[Double] = None
)

sealed abstract class SpeechResponseFormatType extends EnumValue()
Expand All @@ -36,4 +36,4 @@ object VoiceType {
case object onyx extends VoiceType
case object nova extends VoiceType
case object shimmer extends VoiceType
}
}

0 comments on commit 172639a

Please sign in to comment.