Class: Tavily::ResearchEvent
- Inherits:
-
Struct
- Object
- Struct
- Tavily::ResearchEvent
- Defined in:
- lib/tavily/responses.rb
Overview
A single Server-Sent Event emitted by streaming research (Client#research with a block). data is the parsed JSON payload when possible, otherwise the raw string.
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#event ⇒ Object
Returns the value of attribute event.