Class: Aws::BedrockAgentCore::Types::Conversational

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb

Overview

Contains conversational content for an event payload.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentTypes::Content

The content of the conversation message.

Returns:



394
395
396
397
398
399
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 394

class Conversational < Struct.new(
  :content,
  :role)
  SENSITIVE = []
  include Aws::Structure
end

#roleString

The role of the participant in the conversation (for example, "user" or "assistant").

Returns:

  • (String)


394
395
396
397
398
399
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 394

class Conversational < Struct.new(
  :content,
  :role)
  SENSITIVE = []
  include Aws::Structure
end