Class: Aws::Bedrock::Types::ExternalSourcesGenerationConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::ExternalSourcesGenerationConfiguration
- Defined in:
- gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
Overview
The response generation configuration of the external source wrapper object.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#additional_model_request_fields ⇒ Hash<String,Hash,Array,String,Numeric,Boolean>
Additional model parameters and their corresponding values not included in the text inference configuration for an external source.
-
#guardrail_configuration ⇒ Types::GuardrailConfiguration
Configuration details for the guardrail.
-
#kb_inference_config ⇒ Types::KbInferenceConfig
Configuration details for inference when using
RetrieveAndGenerate
to generate responses while using an external source. -
#prompt_template ⇒ Types::PromptTemplate
Contains the template for the prompt for the external source wrapper object.
Instance Attribute Details
#additional_model_request_fields ⇒ Hash<String,Hash,Array,String,Numeric,Boolean>
Additional model parameters and their corresponding values not included in the text inference configuration for an external source. Takes in custom model parameters specific to the language model being used.
1756 1757 1758 1759 1760 1761 1762 1763 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1756 class ExternalSourcesGenerationConfiguration < Struct.new( :prompt_template, :guardrail_configuration, :kb_inference_config, :additional_model_request_fields) SENSITIVE = [] include Aws::Structure end |
#guardrail_configuration ⇒ Types::GuardrailConfiguration
Configuration details for the guardrail.
1756 1757 1758 1759 1760 1761 1762 1763 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1756 class ExternalSourcesGenerationConfiguration < Struct.new( :prompt_template, :guardrail_configuration, :kb_inference_config, :additional_model_request_fields) SENSITIVE = [] include Aws::Structure end |
#kb_inference_config ⇒ Types::KbInferenceConfig
Configuration details for inference when using RetrieveAndGenerate
to generate responses while using an external source.
1756 1757 1758 1759 1760 1761 1762 1763 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1756 class ExternalSourcesGenerationConfiguration < 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 for the external source wrapper object.
1756 1757 1758 1759 1760 1761 1762 1763 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1756 class ExternalSourcesGenerationConfiguration < Struct.new( :prompt_template, :guardrail_configuration, :kb_inference_config, :additional_model_request_fields) SENSITIVE = [] include Aws::Structure end |