Content

sttp.openai.requests.threads.messages.ThreadMessagesResponseData.Content
See theContent companion trait
object Content

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Content.type

Members list

Type members

Classlikes

case class ImageFile(fileId: String)

Value parameters

fileId

string The File ID of the image in the message content.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ImageFileContent(`type`: String, imageFile: ImageFile) extends Content

References an image File in the content of a message

References an image File in the content of a message

Value parameters

imageFile

object

type

Always image_file.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Content
class Object
trait Matchable
class Any
Show all
case class TextContent(`type`: String, text: TextContentValue) extends Content

The text content that is part of a message

The text content that is part of a message

Value parameters

`type`

Always text.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Content
class Object
trait Matchable
class Any
Show all
case class TextContentValue(value: String, annotations: Seq[Annotation])

Value parameters

value

The data that makes up the text

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Implicits