Class: Pangea::Models::AiGuard::HardeningResult
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Pangea::Models::AiGuard::HardeningResult
- Defined in:
- lib/pangea/models/ai_guard/hardening_result.rb
Instance Attribute Summary collapse
-
#action ⇒ String?
The action taken by this Detector.
-
#message ⇒ String?
Descriptive information about the hardening detector execution.
-
#token_count ⇒ Integer?
Number of tokens counted in the last user prompt.
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
#action ⇒ String?
The action taken by this Detector
11 |
# File 'lib/pangea/models/ai_guard/hardening_result.rb', line 11 optional :action, String, nil?: true |
#message ⇒ String?
Descriptive information about the hardening detector execution
17 |
# File 'lib/pangea/models/ai_guard/hardening_result.rb', line 17 optional :message, String, nil?: true |
#token_count ⇒ Integer?
Number of tokens counted in the last user prompt
23 |
# File 'lib/pangea/models/ai_guard/hardening_result.rb', line 23 optional :token_count, Integer, nil?: true |