All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.cequence.openaiscala.domain.Attachment.scala Maven / Gradle / Ivy

There is a newer version: 1.1.0.RC.2
Show newest version
package io.cequence.openaiscala.domain

final case class Attachment(
  // The ID of the file to attach to the message.
  fileId: Option[FileId],
  // The tools to add this file to.
  tools: Seq[MessageAttachmentTool] = Nil
)

object Attachment {
  def unapply(attachment: Attachment): Option[(Option[FileId], Seq[MessageAttachmentTool])] =
    Some((attachment.fileId, attachment.tools))
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy