CreateThreadRequest

data class CreateThreadRequest(val messages: MutableList<CreateThreadMessageRequest>? = null, val metadata: MutableMap<String, String>? = null)

Represents a request to create a new Thread.

Constructors

Link copied to clipboard
constructor(messages: MutableList<CreateThreadMessageRequest>? = null, metadata: MutableMap<String, String>? = null)

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The messages to send to the thread

Link copied to clipboard

The metadata to add to the thread