MultipartPart

org.llm4s.http.MultipartPart
See theMultipartPart companion object
@Stable
sealed trait MultipartPart

Represents a single part in a multipart/form-data request.

Build one with MultipartPart.TextField(name, value), MultipartPart.FilePart(name, path, filename) or MultipartPart.FilePart.ofBytes, and change it with the with* setters; the constructors and copy are private, so a new field never breaks callers.

Attributes

Companion
object
Source
Llm4sHttpClient.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class FilePart
class TextField

Members list

Value members

Abstract methods

def name: String

Attributes

Source
Llm4sHttpClient.scala