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:
Parameter | Type | Possible values | Description |
---|---|---|---|
model | String | Default: None | The ID of the model to use. For model IDs, check Amazon Bedrock documentation. Required. |
aws_region_name | String | Default: None | |
max_length | Integer | Default: 100 | The maximum length of the generated text. Required. |
truncate | Boolean | True False Default: True | Truncates the generated text to the max_length .Required. |
streaming_callback | StreamingChunk | deepset_cloud_custom_nodes.callbacks.streaming.streaming_callback Default: None | Specifies if a Generator streams. Required. |
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.