MultipartPart

org.llm4s.http.MultipartPart
See theMultipartPart companion trait
object MultipartPart

Attributes

Companion
trait
Source
Llm4sHttpClient.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object Content

Attributes

Companion
trait
Source
Llm4sHttpClient.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Content.type
sealed trait Content

Where a FilePart's bytes come from.

Where a FilePart's bytes come from.

Attributes

Companion
object
Source
Llm4sHttpClient.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Bytes
class File
final case class FilePart extends MultipartPart

A file field in a multipart request.

A file field in a multipart request.

Value parameters

content

the file on disk, or bytes in memory

contentType

the part's Content-Type

filename

the file name the server is told

name

the form field name

Attributes

Companion
object
Source
Llm4sHttpClient.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object FilePart

Attributes

Companion
class
Source
Llm4sHttpClient.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
FilePart.type
final case class TextField extends MultipartPart

A text field in a multipart request.

A text field in a multipart request.

Attributes

Companion
object
Source
Llm4sHttpClient.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object TextField

Attributes

Companion
class
Source
Llm4sHttpClient.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TextField.type

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala