CreateThreadBody

sttp.openai.requests.threads.ThreadsRequestBody.CreateThreadBody
See theCreateThreadBody companion object
case class CreateThreadBody(messages: Option[Seq[CreateMessage]], toolResources: Option[ToolResources], metadata: Option[Map[String, String]])

Value parameters

messages

A list of messages to start the thread with.

metadata

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. For more information please visit: https://platform.openai.com/docs/api-reference/threads/createThread

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