Skip to content

Commit

Permalink
UploadFileSettings dropped
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbanda committed Sep 23, 2024
1 parent 516fb2d commit bb05352
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import io.cequence.openaiscala.anthropic.domain.response.{
}
import io.cequence.openaiscala.anthropic.domain.{ChatRole, Content, Message}
import io.cequence.wsclient.JsonUtil
import play.api.libs.functional.syntax._
import play.api.libs.json._
import play.api.libs.functional.syntax._
import play.api.libs.json._

object JsonFormats extends JsonFormats

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ package io.cequence.openaiscala.domain.settings

import io.cequence.wsclient.domain.NamedEnumValue

case class UploadFileSettings(
// The intended purpose of the uploaded documents. Use "fine-tune" for Fine-tuning.
// This allows us to validate the format of the uploaded file.
// Note: currently only 'fine-tune' is supported (as of 2023-01-20)
purpose: FileUploadPurpose
)

sealed abstract class FileUploadPurpose(value: String) extends NamedEnumValue(value)

object FileUploadPurpose {
Expand Down

0 comments on commit bb05352

Please sign in to comment.