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.



1973
1974
1975
1976
1977
1978
1979
1980
1981
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1973

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)


1973
1974
1975
1976
1977
1978
1979
1980
1981
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1973

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.



1973
1974
1975
1976
1977
1978
1979
1980
1981
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1973

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.



1973
1974
1975
1976
1977
1978
1979
1980
1981
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1973

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.



1973
1974
1975
1976
1977
1978
1979
1980
1981
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1973

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