AssistantThreadCreationOptions interface

The details used to create a new assistant thread.

Properties

messages

The messages to associate with the new thread.

metadata

A set of key/value pairs used to store additional information about the object.

Property Details

messages

The messages to associate with the new thread.

messages?: { content: string, role: string }[]

Property Value

{ content: string, role: string }[]

metadata

A set of key/value pairs used to store additional information about the object.

metadata?: Record<string, string>

Property Value

Record<string, string>