Class: Aws::BedrockAgentRuntime::Types::ExternalSourcesGenerationConfiguration

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

Overview

Contains the generation configuration of the external source wrapper object.

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 their corresponding values not included in the textInferenceConfig structure for an external source. Takes in custom model parameters specific to the language model being used.

Returns:

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


461
462
463
464
465
466
467
468
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 461

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

#guardrail_configurationTypes::GuardrailConfiguration

The configuration details for the guardrail.



461
462
463
464
465
466
467
468
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 461

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

#inference_configTypes::InferenceConfig

Configuration settings for inference when using RetrieveAndGenerate to generate responses while using an external source.



461
462
463
464
465
466
467
468
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 461

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

#prompt_templateTypes::PromptTemplate

Contain the textPromptTemplate string for the external source wrapper object.



461
462
463
464
465
466
467
468
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 461

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