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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockruntime/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.



1834
1835
1836
1837
1838
1839
1840
1841
1842
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1834

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)


1834
1835
1836
1837
1838
1839
1840
1841
1842
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1834

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.



1834
1835
1836
1837
1838
1839
1840
1841
1842
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1834

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.



1834
1835
1836
1837
1838
1839
1840
1841
1842
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1834

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.



1834
1835
1836
1837
1838
1839
1840
1841
1842
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1834

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