ContentPart

sttp.openai.requests.completions.chat.ChatRequestBody.ContentPart
See theContentPart companion object
case class ContentPart(`type`: String, text: String)

An array of content parts with a defined type. Supported options differ based on the model being used to generate the response. Can contain text inputs.

Value parameters

`type`

The type of the content part.

text

The text content.

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product