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

#content ⇒ Types::Content

The content of the conversation message.

Returns:



1575
1576
1577
1578
1579
1580
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1575

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

#role ⇒ String

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

Returns:

  • (String)


1575
1576
1577
1578
1579
1580
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1575

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