Class: Aws::BedrockAgentCore::Types::EvaluationContent
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::EvaluationContent
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb
Overview
Note:
EvaluationContent is a union - when making an API calls you must set exactly one of the members.
A content block for ground truth data in evaluation reference inputs. Supports text content for expected responses and assertions.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#text ⇒ String
The text content of the ground truth data.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#text ⇒ String
The text content of the ground truth data. Used for expected response text and assertion statements.
2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2475 class EvaluationContent < Struct.new( :text, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < EvaluationContent; end class Unknown < EvaluationContent; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
2475 2476 2477 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2475 def unknown @unknown end |