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

Source
MediaType.scala
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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

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
Source
MediaType.scala

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
Source
MediaType.scala

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

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

Attributes

Inherited from:
MediaType
Source
MediaType.scala

Attributes

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

Attributes

Inherited from:
Product