AmazonBedrockGenerator Parameters

Check the init and runtime parameters you can use to customize AmazonBedrockGenerator.

YAML Init Parameters

These are the parameters you can pass to this component in the pipeline YAML configuration:

ParameterTypePossible valuesDescription
modelStringDefault: NoneThe name of the model to use. Required.
aws_access_key_idSecretDefault: {"type": "env_var", "env_vars": ["AWS_ACCESS_KEY_ID"], "strict": False}The AWS access key ID.
Optional.
aws_secret_access_keySecretDefault: {"type": "env_var", "env_vars": ["AWS_SECRET_ACCESS_KEY"], "strict": False}The AWS secret access key.
Optional.
aws_session_tokenSecretDefault: {"type": "env_var", "env_vars": ["AWS_SESSION_TOKEN"], "strict": False}The AWS session token.
Optional.
aws_region_nameSecretDefault: {"type": "env_var", "env_vars": ["AWS_DEFAULT_REGION"], "strict": False}The AWS region name.
Optional.
aws_profile_nameSecretDefault: {"type": "env_var", "env_vars": ["AWS_PROFILE"], "strict": False}The AWS profile name.
Optional.
max_lengthIntegerDefault: 100The maximum length of the generated text. Optional.
kwargsDictionary of stringsAdditional keyword arguments to be passed to the model. Optional.


REST API Runtime Parameters

There are no runtime parameters you can pass to this component when making a request to the Search REST API endpoint.