kernl
ReferencekernlInterfaces

Interface: ThreadEventBase

Defined in: packages/kernl/src/api/models/thread.ts:101

Common metadata for all thread events.

These fields are added on top of the underlying LanguageModelItem when events are persisted to storage.

Properties

PropertyTypeDescriptionDefined in
idstringGlobally-unique event identifier within the thread.packages/kernl/src/api/models/thread.ts:105
metadataRecord<string, unknown>Arbitrary metadata attached to the event (implementation-specific).packages/kernl/src/api/models/thread.ts:127
seqnumberMonotonically-increasing sequence number within the thread. seq defines the total order of events for a given thread.packages/kernl/src/api/models/thread.ts:117
tidstringID of the thread this event belongs to.packages/kernl/src/api/models/thread.ts:110
timestampDateTimestamp when the event was recorded (wall-clock time).packages/kernl/src/api/models/thread.ts:122

On this page