Class: Aws::BedrockAgent::Types::ChatPromptTemplateConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockagent/types.rb

Overview

Contains configurations to use a prompt in a conversational format. For more information, see [Create a prompt using Prompt management].

[1]: docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html

Constant Summary collapse

SENSITIVE =
[:system, :input_variables]

Instance Attribute Summary collapse

Instance Attribute Details

#input_variablesArray<Types::PromptInputVariable>

An array of the variables in the prompt template.

Returns:



1464
1465
1466
1467
1468
1469
1470
1471
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1464

class ChatPromptTemplateConfiguration < Struct.new(
  :messages,
  :system,
  :input_variables,
  :tool_configuration)
  SENSITIVE = [:system, :input_variables]
  include Aws::Structure
end

#messagesArray<Types::Message>

Contains messages in the chat for the prompt.

Returns:



1464
1465
1466
1467
1468
1469
1470
1471
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1464

class ChatPromptTemplateConfiguration < Struct.new(
  :messages,
  :system,
  :input_variables,
  :tool_configuration)
  SENSITIVE = [:system, :input_variables]
  include Aws::Structure
end

#systemArray<Types::SystemContentBlock>

Contains system prompts to provide context to the model or to describe how it should behave.

Returns:



1464
1465
1466
1467
1468
1469
1470
1471
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1464

class ChatPromptTemplateConfiguration < Struct.new(
  :messages,
  :system,
  :input_variables,
  :tool_configuration)
  SENSITIVE = [:system, :input_variables]
  include Aws::Structure
end

#tool_configurationTypes::ToolConfiguration

Configuration information for the tools that the model can use when generating a response.



1464
1465
1466
1467
1468
1469
1470
1471
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1464

class ChatPromptTemplateConfiguration < Struct.new(
  :messages,
  :system,
  :input_variables,
  :tool_configuration)
  SENSITIVE = [:system, :input_variables]
  include Aws::Structure
end