FeatureEventMessage

data class FeatureEventMessage(val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : FeatureEvent(source)

A data class representing a feature event message that encapsulates details about a specific event.

This class implements the ai.koog.agents.core.feature.message.FeatureEvent interface, which extends the ai.koog.agents.core.feature.message.FeatureMessage interface, indicating that it contains event-specific information and adheres to the structure of a feature message.

The primary purpose of this class is to represent feature event data with an associated unique event identifier, a timestamp marking its creation, and the message type indicating it is an event-specific message.

Constructors

Link copied to clipboard
constructor(timestamp: Long = Clock.System.now().toEpochMilliseconds())

Properties

Link copied to clipboard
open override val messageType: FeatureMessage.Type

Specifies the type of the feature message, indicating the nature of the message being processed.

Link copied to clipboard
open override val timestamp: Long

The time at which this event message was created has represented in milliseconds since the epoch. This property implements the ai.koog.agents.core.feature.message.FeatureMessage.timestamp from the parent interface.