Class: Pangea::Models::AiGuard::PromptInjectionResult
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Pangea::Models::AiGuard::PromptInjectionResult
- Defined in:
- lib/pangea/models/ai_guard/prompt_injection_result.rb
Defined Under Namespace
Classes: AnalyzerResponse
Instance Attribute Summary collapse
-
#action ⇒ String?
The action taken by this Detector.
-
#analyzer_responses ⇒ Pangea::Internal::Type::ArrayOf<AnalyzerResponse>?
Triggered prompt injection analyzers.
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/prompt_injection_result.rb', line 11 optional :action, String, nil?: true |
#analyzer_responses ⇒ Pangea::Internal::Type::ArrayOf<AnalyzerResponse>?
Triggered prompt injection analyzers.
17 |
# File 'lib/pangea/models/ai_guard/prompt_injection_result.rb', line 17 optional :analyzer_responses, Pangea::Internal::Type::ArrayOf[-> { AnalyzerResponse }], nil?: true |