Class: Aws::Bedrock::Types::GenerationConfiguration

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

Overview

The configuration details for response generation based on retrieved text chunks.

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 you to provide custom model parameters specific to the language model being used.

Returns:

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


1893
1894
1895
1896
1897
1898
1899
1900
# File 'lib/aws-sdk-bedrock/types.rb', line 1893

class GenerationConfiguration < Struct.new(
  :prompt_template,
  :guardrail_configuration,
  :kb_inference_config,
  :additional_model_request_fields)
  SENSITIVE = []
  include Aws::Structure
end

#guardrail_configurationTypes::GuardrailConfiguration

Contains configuration details for the guardrail.



1893
1894
1895
1896
1897
1898
1899
1900
# File 'lib/aws-sdk-bedrock/types.rb', line 1893

class GenerationConfiguration < Struct.new(
  :prompt_template,
  :guardrail_configuration,
  :kb_inference_config,
  :additional_model_request_fields)
  SENSITIVE = []
  include Aws::Structure
end

#kb_inference_configTypes::KbInferenceConfig

Contains configuration details for inference for knowledge base retrieval and response generation.



1893
1894
1895
1896
1897
1898
1899
1900
# File 'lib/aws-sdk-bedrock/types.rb', line 1893

class GenerationConfiguration < Struct.new(
  :prompt_template,
  :guardrail_configuration,
  :kb_inference_config,
  :additional_model_request_fields)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_templateTypes::PromptTemplate

Contains the template for the prompt that’s sent to the model for response generation.



1893
1894
1895
1896
1897
1898
1899
1900
# File 'lib/aws-sdk-bedrock/types.rb', line 1893

class GenerationConfiguration < Struct.new(
  :prompt_template,
  :guardrail_configuration,
  :kb_inference_config,
  :additional_model_request_fields)
  SENSITIVE = []
  include Aws::Structure
end