RawMediaInput

org.llm4s.llmconnect.model.RawMediaInput
See theRawMediaInput companion object
@Stable
final case class RawMediaInput extends MMInput

Raw, unparsed bytes representing the media object. Provided for generic multimodal HTTP providers.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait MMInput
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def bytesApprox: Long

Approximate payload size in bytes (for logging/back-pressure).

Approximate payload size in bytes (for logging/back-pressure).

Attributes

Definition Classes
def withData(data: Array[Byte]): RawMediaInput

Sets the bytes.

Sets the bytes.

Attributes

def withMime(mime: String): RawMediaInput

Sets the MIME type.

Sets the MIME type.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product