Class: Assistant::TechnicalSupport::ResponseGroundingAnalyzer::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/assistant/technical_support/response_grounding_analyzer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data: {}, model: nil) ⇒ Result

Builds a structured analyzer result.

Parameters:

  • data (Hash) (defaults to: {})

    schema-constrained claim analysis

  • model (String, nil) (defaults to: nil)

    model that completed the analysis



22
# File 'app/services/assistant/technical_support/response_grounding_analyzer.rb', line 22

def initialize(data: {}, model: nil) = super

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



17
18
19
# File 'app/services/assistant/technical_support/response_grounding_analyzer.rb', line 17

def data
  @data
end

#modelObject (readonly)

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



17
18
19
# File 'app/services/assistant/technical_support/response_grounding_analyzer.rb', line 17

def model
  @model
end