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:



565
566
567
568
569
570
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 565

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)


565
566
567
568
569
570
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 565

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