Class: LLM::EventStream::Parser::Visitor

Inherits:
Struct
  • Object
show all
Defined in:
lib/llm/eventstream/parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#on_chunkObject

Returns the value of attribute on_chunk

Returns:

  • (Object)

    the current value of on_chunk



8
9
10
# File 'lib/llm/eventstream/parser.rb', line 8

def on_chunk
  @on_chunk
end

#on_dataObject

Returns the value of attribute on_data

Returns:

  • (Object)

    the current value of on_data



8
9
10
# File 'lib/llm/eventstream/parser.rb', line 8

def on_data
  @on_data
end

#on_eventObject

Returns the value of attribute on_event

Returns:

  • (Object)

    the current value of on_event



8
9
10
# File 'lib/llm/eventstream/parser.rb', line 8

def on_event
  @on_event
end

#on_idObject

Returns the value of attribute on_id

Returns:

  • (Object)

    the current value of on_id



8
9
10
# File 'lib/llm/eventstream/parser.rb', line 8

def on_id
  @on_id
end

#on_retryObject

Returns the value of attribute on_retry

Returns:

  • (Object)

    the current value of on_retry



8
9
10
# File 'lib/llm/eventstream/parser.rb', line 8

def on_retry
  @on_retry
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



8
9
10
# File 'lib/llm/eventstream/parser.rb', line 8

def target
  @target
end