Class: Aws::BedrockRuntime::Types::GuardrailAutomatedReasoningTranslation

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockruntime/types.rb

Overview

Contains the logical translation of natural language input into formal logical statements, including premises, claims, and confidence scores.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#claimsArray<Types::GuardrailAutomatedReasoningStatement>

The logical statements that are being validated against the premises and policy rules.



2084
2085
2086
2087
2088
2089
2090
2091
2092
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2084

class GuardrailAutomatedReasoningTranslation < Struct.new(
  :premises,
  :claims,
  :untranslated_premises,
  :untranslated_claims,
  :confidence)
  SENSITIVE = []
  include Aws::Structure
end

#confidenceFloat

A confidence score between 0 and 1 indicating how certain the system is about the logical translation.

Returns:

  • (Float)


2084
2085
2086
2087
2088
2089
2090
2091
2092
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2084

class GuardrailAutomatedReasoningTranslation < Struct.new(
  :premises,
  :claims,
  :untranslated_premises,
  :untranslated_claims,
  :confidence)
  SENSITIVE = []
  include Aws::Structure
end

#premisesArray<Types::GuardrailAutomatedReasoningStatement>

The logical statements that serve as the foundation or assumptions for the claims.



2084
2085
2086
2087
2088
2089
2090
2091
2092
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2084

class GuardrailAutomatedReasoningTranslation < Struct.new(
  :premises,
  :claims,
  :untranslated_premises,
  :untranslated_claims,
  :confidence)
  SENSITIVE = []
  include Aws::Structure
end

#untranslated_claimsArray<Types::GuardrailAutomatedReasoningInputTextReference>

References to portions of the original input text that correspond to the claims but could not be fully translated.



2084
2085
2086
2087
2088
2089
2090
2091
2092
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2084

class GuardrailAutomatedReasoningTranslation < Struct.new(
  :premises,
  :claims,
  :untranslated_premises,
  :untranslated_claims,
  :confidence)
  SENSITIVE = []
  include Aws::Structure
end

#untranslated_premisesArray<Types::GuardrailAutomatedReasoningInputTextReference>

References to portions of the original input text that correspond to the premises but could not be fully translated.



2084
2085
2086
2087
2088
2089
2090
2091
2092
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2084

class GuardrailAutomatedReasoningTranslation < Struct.new(
  :premises,
  :claims,
  :untranslated_premises,
  :untranslated_claims,
  :confidence)
  SENSITIVE = []
  include Aws::Structure
end