Class: Pangea::Models::AiGuard::TextGuardResult::Detectors::Gibberish

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/pangea/models/ai_guard/text_guard_result.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, coerce, #deconstruct_keys, dump, fields, #initialize, #inspect, known_fields, optional, required, #to_h

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, type_info

Constructor Details

This class inherits a constructor from Pangea::Internal::Type::BaseModel

Instance Attribute Details

#dataPangea::Models::AiGuard::ClassificationResult?

Details about the analyzers.



140
# File 'lib/pangea/models/ai_guard/text_guard_result.rb', line 140

optional :data, Pangea::Models::AiGuard::ClassificationResult, nil?: true

#detectedPangea::Internal::Type::Boolean?

Whether or not the Gibberish was detected.



134
# File 'lib/pangea/models/ai_guard/text_guard_result.rb', line 134

optional :detected, Pangea::Internal::Type::Boolean, nil?: true