Class: Assistant::TechnicalSupport::CaseReplay::Assessment

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(benchmark_grounded: false, benchmark_evidence_ids: [], same_outcome: false, grounded: false, safe: false, missing_facts: [], unsupported_claims: [], article_gap: nil, notes: nil) ⇒ Assessment

Returns a new instance of Assessment.



15
16
17
18
19
20
21
# File 'app/services/assistant/technical_support/case_replay/assessment.rb', line 15

def initialize(
  benchmark_grounded: false, benchmark_evidence_ids: [],
  same_outcome: false, grounded: false, safe: false,
  missing_facts: [], unsupported_claims: [], article_gap: nil, notes: nil
)
  super
end

Instance Attribute Details

#article_gapObject (readonly)

Returns the value of attribute article_gap

Returns:

  • (Object)

    the current value of article_gap



4
5
6
# File 'app/services/assistant/technical_support/case_replay/assessment.rb', line 4

def article_gap
  @article_gap
end

#benchmark_evidence_idsObject (readonly)

Returns the value of attribute benchmark_evidence_ids

Returns:

  • (Object)

    the current value of benchmark_evidence_ids



4
5
6
# File 'app/services/assistant/technical_support/case_replay/assessment.rb', line 4

def benchmark_evidence_ids
  @benchmark_evidence_ids
end

#benchmark_groundedObject (readonly)

Returns the value of attribute benchmark_grounded

Returns:

  • (Object)

    the current value of benchmark_grounded



4
5
6
# File 'app/services/assistant/technical_support/case_replay/assessment.rb', line 4

def benchmark_grounded
  @benchmark_grounded
end

#groundedObject (readonly)

Returns the value of attribute grounded

Returns:

  • (Object)

    the current value of grounded



4
5
6
# File 'app/services/assistant/technical_support/case_replay/assessment.rb', line 4

def grounded
  @grounded
end

#missing_factsObject (readonly)

Returns the value of attribute missing_facts

Returns:

  • (Object)

    the current value of missing_facts



4
5
6
# File 'app/services/assistant/technical_support/case_replay/assessment.rb', line 4

def missing_facts
  @missing_facts
end

#notesObject (readonly)

Returns the value of attribute notes

Returns:

  • (Object)

    the current value of notes



4
5
6
# File 'app/services/assistant/technical_support/case_replay/assessment.rb', line 4

def notes
  @notes
end

#safeObject (readonly)

Returns the value of attribute safe

Returns:

  • (Object)

    the current value of safe



4
5
6
# File 'app/services/assistant/technical_support/case_replay/assessment.rb', line 4

def safe
  @safe
end

#same_outcomeObject (readonly)

Returns the value of attribute same_outcome

Returns:

  • (Object)

    the current value of same_outcome



4
5
6
# File 'app/services/assistant/technical_support/case_replay/assessment.rb', line 4

def same_outcome
  @same_outcome
end

#unsupported_claimsObject (readonly)

Returns the value of attribute unsupported_claims

Returns:

  • (Object)

    the current value of unsupported_claims



4
5
6
# File 'app/services/assistant/technical_support/case_replay/assessment.rb', line 4

def unsupported_claims
  @unsupported_claims
end