Class: Aws::BedrockAgentRuntime::Types::OrchestrationConfiguration

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

Overview

Settings for how the model processes the prompt prior to retrieval and generation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_model_request_fieldsHash<String,Hash,Array,String,Numeric,Boolean>

Additional model parameters and corresponding values not included in the textInferenceConfig structure for a knowledge base. This allows users to provide custom model parameters specific to the language model being used.

Returns:

  • (Hash<String,Hash,Array,String,Numeric,Boolean>)


3215
3216
3217
3218
3219
3220
3221
3222
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3215

class OrchestrationConfiguration < Struct.new(
  :additional_model_request_fields,
  :inference_config,
  :prompt_template,
  :query_transformation_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#inference_configTypes::InferenceConfig

Configuration settings for inference when using RetrieveAndGenerate to generate responses while using a knowledge base as a source.



3215
3216
3217
3218
3219
3220
3221
3222
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3215

class OrchestrationConfiguration < Struct.new(
  :additional_model_request_fields,
  :inference_config,
  :prompt_template,
  :query_transformation_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_templateTypes::PromptTemplate

Contains the template for the prompt that's sent to the model. Orchestration prompts must include the $conversation_history$ and $output_format_instructions$ variables. For more information, see Use placeholder variables in the user guide.



3215
3216
3217
3218
3219
3220
3221
3222
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3215

class OrchestrationConfiguration < Struct.new(
  :additional_model_request_fields,
  :inference_config,
  :prompt_template,
  :query_transformation_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#query_transformation_configurationTypes::QueryTransformationConfiguration

To split up the prompt and retrieve multiple sources, set the transformation type to QUERY_DECOMPOSITION.



3215
3216
3217
3218
3219
3220
3221
3222
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3215

class OrchestrationConfiguration < Struct.new(
  :additional_model_request_fields,
  :inference_config,
  :prompt_template,
  :query_transformation_configuration)
  SENSITIVE = []
  include Aws::Structure
end