You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: integrations/amazon_bedrock/src/haystack_integrations/components/embedders/amazon_bedrock/document_embedder.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,9 @@ def __init__(
95
95
to keep the logs clean.
96
96
:param meta_fields_to_embed: List of meta fields that should be embedded along with the Document text.
97
97
: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.
99
101
:param kwargs: Additional parameters to pass for model inference. For example, `input_type` and `truncate` for
100
102
Cohere models.
101
103
:raises ValueError: If the model is not supported.
Copy file name to clipboardExpand all lines: integrations/amazon_bedrock/src/haystack_integrations/components/embedders/amazon_bedrock/document_image_embedder.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,9 @@ def __init__(
106
106
when working with models that have resolution constraints or when transmitting images to remote services.
107
107
:param progress_bar:
108
108
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.
110
112
:param kwargs: Additional parameters to pass for model inference.
111
113
For example, `embeddingConfig` for Amazon Titan models and
Copy file name to clipboardExpand all lines: integrations/amazon_bedrock/src/haystack_integrations/components/embedders/amazon_bedrock/text_embedder.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,9 @@ def __init__(
76
76
:param aws_session_token: AWS session token.
77
77
:param aws_region_name: AWS region name.
78
78
: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.
80
82
:param kwargs: Additional parameters to pass for model inference. For example, `input_type` and `truncate` for
81
83
Cohere models.
82
84
:raises ValueError: If the model is not supported.
Copy file name to clipboardExpand all lines: integrations/amazon_bedrock/src/haystack_integrations/components/generators/amazon_bedrock/chat/chat_generator.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -205,7 +205,9 @@ def __init__(
205
205
function that handles the streaming chunks. The callback function receives a
206
206
[StreamingChunk](https://docs.haystack.deepset.ai/docs/data-classes#streamingchunk) object and switches
207
207
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.
209
211
:param tools: A list of Tool and/or Toolset objects, or a single Toolset for which the model can prepare calls.
210
212
Each tool should have a unique name.
211
213
:param guardrail_config: Optional configuration for a guardrail that has been created in Amazon Bedrock.
0 commit comments