Class: Aws::Bedrock::Types::GenerationConfiguration
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::Bedrock::Types::GenerationConfiguration
 
 
- Defined in:
 - gems/aws-sdk-bedrock/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
textInferenceConfigstructure 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.
      5005 5006 5007 5008 5009 5010 5011 5012  | 
    
      # File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 5005 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.
      5005 5006 5007 5008 5009 5010 5011 5012  | 
    
      # File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 5005 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.
      5005 5006 5007 5008 5009 5010 5011 5012  | 
    
      # File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 5005 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.
      5005 5006 5007 5008 5009 5010 5011 5012  | 
    
      # File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 5005 class GenerationConfiguration < Struct.new( :prompt_template, :guardrail_configuration, :kb_inference_config, :additional_model_request_fields) SENSITIVE = [] include Aws::Structure end  |