DocumentMediaType

org.llm4s.media.DocumentMediaType
sealed trait DocumentMediaType extends MediaType

A MediaType statically known to be a document a model can read, so document APIs can require one. PDF is an application type; the others are text.

Attributes

Graph
Supertypes
trait MediaType
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object Csv
object Html
object Markdown
object Pdf
object PlainText

Members list

Value members

Inherited methods

def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product

Inherited and Abstract methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

The broad kind of media this is.

The broad kind of media this is.

Attributes

Inherited from:
MediaType
def extension: String

The canonical file extension, without a leading dot, e.g. "png".

The canonical file extension, without a leading dot, e.g. "png".

Attributes

Inherited from:
MediaType
def mimeType: String

The MIME type, e.g. "image/png".

The MIME type, e.g. "image/png".

Attributes

Inherited from:
MediaType
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product