Class: Aws::Bedrock::Types::GenerationConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::GenerationConfiguration
- 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
-
#additional_model_request_fields ⇒ Hash<String,Hash,Array,String,Numeric,Boolean>
Additional model parameters and corresponding values not included in the ‘textInferenceConfig` structure for a knowledge base.
-
#guardrail_configuration ⇒ Types::GuardrailConfiguration
Contains configuration details for the guardrail.
-
#kb_inference_config ⇒ Types::KbInferenceConfig
Contains configuration details for inference for knowledge base retrieval and response generation.
-
#prompt_template ⇒ Types::PromptTemplate
Contains the template for the prompt that’s sent to the model for response generation.
Instance Attribute Details
#additional_model_request_fields ⇒ Hash<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.
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_configuration ⇒ Types::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_config ⇒ Types::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_template ⇒ Types::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 |