Class: Assistant::TechnicalSupport::ResponseGroundingFailureRecorder
- Inherits:
-
Object
- Object
- Assistant::TechnicalSupport::ResponseGroundingFailureRecorder
- Includes:
- Service
- Defined in:
- app/services/assistant/technical_support/response_grounding_failure_recorder.rb
Overview
Reports and persists a fail-open audit outcome without exposing provider
errors to the completed Sunny response.
Instance Method Summary collapse
-
#call ⇒ Hash
Reports the failure and stores a bounded operational assessment.
Methods included from Service
#attributes_used, #build_result, call, #logger
Methods included from Service::Initializer
Instance Method Details
#call ⇒ Hash
Reports the failure and stores a bounded operational assessment.
22 23 24 25 26 |
# File 'app/services/assistant/technical_support/response_grounding_failure_recorder.rb', line 22 def call persisted = persist report persisted end |