Class: Ollama::StreamingObserver::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/ollama/streaming_observer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



7
8
9
# File 'lib/ollama/streaming_observer.rb', line 7

def data
  @data
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/ollama/streaming_observer.rb', line 7

def name
  @name
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



7
8
9
# File 'lib/ollama/streaming_observer.rb', line 7

def state
  @state
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



7
8
9
# File 'lib/ollama/streaming_observer.rb', line 7

def text
  @text
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



7
8
9
# File 'lib/ollama/streaming_observer.rb', line 7

def type
  @type
end