Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 502 Bytes

BasicEvent.md

File metadata and controls

22 lines (16 loc) · 502 Bytes

Rasa::HTTP::BasicEvent

Properties

Name Type Description Notes
event String Event name
timestamp Integer Time of application [optional]
metadata Object [optional]

Example

require 'rasa-http-api'

instance = Rasa::HTTP::BasicEvent.new(
  event: slot,
  timestamp: null,
  metadata: {"arbitrary_metadata_key":"some string","more_metadata":1.0}
)