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:

Parameter

Type

Possible values

Description

model

String

Default: None

The name of the model to use. Required.

aws_access_key_id

Secret

Default: {"type": "env_var", "env_vars": ["AWS_ACCESS_KEY_ID"], "strict": False}

The AWS access key ID.
Optional.

aws_secret_access_key

Secret

Default: {"type": "env_var", "env_vars": ["AWS_SECRET_ACCESS_KEY"], "strict": False}

The AWS secret access key.
Optional.

aws_session_token

Secret

Default: {"type": "env_var", "env_vars": ["AWS_SESSION_TOKEN"], "strict": False}

The AWS session token.
Optional.

aws_region_name

Secret

Default: {"type": "env_var", "env_vars": ["AWS_DEFAULT_REGION"], "strict": False}

The AWS region name.
Optional.

aws_profile_name

Secret

Default: {"type": "env_var", "env_vars": ["AWS_PROFILE"], "strict": False}

The AWS profile name.
Optional.

max_length

Integer

Default: 100

The maximum length of the generated text. Optional.

kwargs

Dictionary of strings

Additional 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.