Class: Ollama::StreamingObserver::Event
- Inherits:
-
Struct
- Object
- Struct
- Ollama::StreamingObserver::Event
- Defined in:
- lib/ollama/streaming_observer.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#name ⇒ Object
Returns the value of attribute name.
-
#state ⇒ Object
Returns the value of attribute state.
-
#text ⇒ Object
Returns the value of attribute text.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
7 8 9 |
# File 'lib/ollama/streaming_observer.rb', line 7 def data @data end |
#name ⇒ Object
Returns the value of attribute name
7 8 9 |
# File 'lib/ollama/streaming_observer.rb', line 7 def name @name end |
#state ⇒ Object
Returns the value of attribute state
7 8 9 |
# File 'lib/ollama/streaming_observer.rb', line 7 def state @state end |
#text ⇒ Object
Returns the value of attribute text
7 8 9 |
# File 'lib/ollama/streaming_observer.rb', line 7 def text @text end |
#type ⇒ Object
Returns the value of attribute type
7 8 9 |
# File 'lib/ollama/streaming_observer.rb', line 7 def type @type end |