DeepsetAmazonBedrockGenerator Parameters

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

YAML Init Parameters

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

ParameterTypePossible valuesDescription
modelStringDefault: NoneThe ID of the model to use. For model IDs, check Amazon Bedrock documentation.
Required.
aws_region_nameStringDefault: None
max_lengthIntegerDefault: 100The maximum length of the generated text.
Required.
truncateBooleanTrue
False
Default: True
Truncates the generated text to the max_length.
Required.
streaming_callbackStreamingChunkdeepset_cloud_custom_nodes.callbacks.streaming.streaming_callback
Default: None
Specifies if a Generator streams.
Required.
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.