Skip to content

Commit bda5490

Browse files
Merge branch 'main' into feat/tavily-websearch
2 parents 39bdecf + 168c9f4 commit bda5490

7 files changed

Lines changed: 25 additions & 6 deletions

File tree

integrations/amazon_bedrock/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [integrations/amazon_bedrock-v6.7.1] - 2026-03-25
4+
5+
### 📚 Documentation
6+
7+
- Better docstring for boto3_config explaining retries (#3042)
8+
9+
310
## [integrations/amazon_bedrock-v6.7.0] - 2026-03-24
411

512
### 🚀 Features

integrations/amazon_bedrock/src/haystack_integrations/components/downloaders/s3/s3_downloader.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ def __init__(
6161
:param aws_session_token: AWS session token.
6262
:param aws_region_name: AWS region name.
6363
:param aws_profile_name: AWS profile name.
64-
:param boto3_config: The configuration for the boto3 client.
64+
:param boto3_config: Dictionary of configuration options for the underlying Boto3 client.
65+
Can be used to tune [retry behavior](https://docs.aws.amazon.com/boto3/latest/guide/retries.html)
66+
and other low-level settings like timeouts and connection management.
6567
:param file_root_path: The path where the file will be downloaded.
6668
Can be set through this parameter or the `FILE_ROOT_PATH` environment variable.
6769
If none of them is set, a `ValueError` is raised.

integrations/amazon_bedrock/src/haystack_integrations/components/embedders/amazon_bedrock/document_embedder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ def __init__(
9595
to keep the logs clean.
9696
:param meta_fields_to_embed: List of meta fields that should be embedded along with the Document text.
9797
:param embedding_separator: Separator used to concatenate the meta fields to the Document text.
98-
:param boto3_config: The configuration for the boto3 client.
98+
:param boto3_config: Dictionary of configuration options for the underlying Boto3 client.
99+
Can be used to tune [retry behavior](https://docs.aws.amazon.com/boto3/latest/guide/retries.html)
100+
and other low-level settings like timeouts and connection management.
99101
:param kwargs: Additional parameters to pass for model inference. For example, `input_type` and `truncate` for
100102
Cohere models.
101103
:raises ValueError: If the model is not supported.

integrations/amazon_bedrock/src/haystack_integrations/components/embedders/amazon_bedrock/document_image_embedder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ def __init__(
106106
when working with models that have resolution constraints or when transmitting images to remote services.
107107
:param progress_bar:
108108
If `True`, shows a progress bar when embedding documents.
109-
:param boto3_config: The configuration for the boto3 client.
109+
:param boto3_config: Dictionary of configuration options for the underlying Boto3 client.
110+
Can be used to tune [retry behavior](https://docs.aws.amazon.com/boto3/latest/guide/retries.html)
111+
and other low-level settings like timeouts and connection management.
110112
:param kwargs: Additional parameters to pass for model inference.
111113
For example, `embeddingConfig` for Amazon Titan models and
112114
`embedding_types` for Cohere models.

integrations/amazon_bedrock/src/haystack_integrations/components/embedders/amazon_bedrock/text_embedder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ def __init__(
7676
:param aws_session_token: AWS session token.
7777
:param aws_region_name: AWS region name.
7878
:param aws_profile_name: AWS profile name.
79-
:param boto3_config: The configuration for the boto3 client.
79+
:param boto3_config: Dictionary of configuration options for the underlying Boto3 client.
80+
Can be used to tune [retry behavior](https://docs.aws.amazon.com/boto3/latest/guide/retries.html)
81+
and other low-level settings like timeouts and connection management.
8082
:param kwargs: Additional parameters to pass for model inference. For example, `input_type` and `truncate` for
8183
Cohere models.
8284
:raises ValueError: If the model is not supported.

integrations/amazon_bedrock/src/haystack_integrations/components/generators/amazon_bedrock/chat/chat_generator.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ def __init__(
205205
function that handles the streaming chunks. The callback function receives a
206206
[StreamingChunk](https://docs.haystack.deepset.ai/docs/data-classes#streamingchunk) object and switches
207207
the streaming mode on.
208-
:param boto3_config: The configuration for the boto3 client.
208+
:param boto3_config: Dictionary of configuration options for the underlying Boto3 client.
209+
Can be used to tune [retry behavior](https://docs.aws.amazon.com/boto3/latest/guide/retries.html)
210+
and other low-level settings like timeouts and connection management.
209211
:param tools: A list of Tool and/or Toolset objects, or a single Toolset for which the model can prepare calls.
210212
Each tool should have a unique name.
211213
:param guardrail_config: Optional configuration for a guardrail that has been created in Amazon Bedrock.

integrations/amazon_bedrock/src/haystack_integrations/components/generators/amazon_bedrock/generator.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ def __init__(
127127
:param truncate: Deprecated. This parameter no longer has any effect.
128128
:param streaming_callback: A callback function that is called when a new token is received from the stream.
129129
The callback function accepts StreamingChunk as an argument.
130-
:param boto3_config: The configuration for the boto3 client.
130+
:param boto3_config: Dictionary of configuration options for the underlying Boto3 client.
131+
Can be used to tune [retry behavior](https://docs.aws.amazon.com/boto3/latest/guide/retries.html)
132+
and other low-level settings like timeouts and connection management.
131133
:param model_family: The model family to use. If not provided, the model adapter is selected based on the model
132134
name.
133135
:param kwargs: Additional keyword arguments to be passed to the model.

0 commit comments

Comments
 (0)