Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Message

Hierarchy

  • Message

Index

Properties

assistant_id: null | string

If applicable, the ID of the assistant that authored this message.

content: {}

The message content includes text in an object.

Type declaration

created_at: number

The UNIX timestamp in seconds.

id: string

The identifier.

metadata: null | object

The metadata can contain up to 16 pairs, with keys limited to 64 characters and values to 512 characters.

role: "user" | "assistant"

The entity that produced the message. One of user or assistant.

run_id: null | string

If applicable, the ID of the run associated with the authoring of this message.

thread_id: string

The ID of thread that message belongs to.

Generated using TypeDoc