amazon-bedrock-haystack 5.3.1__py3-none-any.whl → 5.4.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {amazon_bedrock_haystack-5.3.1.dist-info → amazon_bedrock_haystack-5.4.0.dist-info}/METADATA +1 -1
- {amazon_bedrock_haystack-5.3.1.dist-info → amazon_bedrock_haystack-5.4.0.dist-info}/RECORD +8 -8
- haystack_integrations/components/downloaders/s3/s3_downloader.py +1 -2
- haystack_integrations/components/generators/amazon_bedrock/chat/chat_generator.py +1 -1
- haystack_integrations/components/generators/amazon_bedrock/generator.py +1 -1
- haystack_integrations/components/rankers/amazon_bedrock/ranker.py +1 -1
- {amazon_bedrock_haystack-5.3.1.dist-info → amazon_bedrock_haystack-5.4.0.dist-info}/WHEEL +0 -0
- {amazon_bedrock_haystack-5.3.1.dist-info → amazon_bedrock_haystack-5.4.0.dist-info}/licenses/LICENSE.txt +0 -0
{amazon_bedrock_haystack-5.3.1.dist-info → amazon_bedrock_haystack-5.4.0.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: amazon-bedrock-haystack
|
|
3
|
-
Version: 5.
|
|
3
|
+
Version: 5.4.0
|
|
4
4
|
Summary: An integration of AWS S3 and Bedrock as a Downloader and Generator components.
|
|
5
5
|
Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/amazon_bedrock#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/deepset-ai/haystack-core-integrations/issues
|
|
@@ -7,7 +7,7 @@ haystack_integrations/common/s3/errors.py,sha256=BrTDLdhQvAuQutyg35cFyP5h8PNkDEi
|
|
|
7
7
|
haystack_integrations/common/s3/utils.py,sha256=OJupFj54aQmg6S8VuVq6Lc2qpFZyyJajRVIpwe3_6iA,4744
|
|
8
8
|
haystack_integrations/components/downloaders/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
haystack_integrations/components/downloaders/s3/__init__.py,sha256=2BOd3_N0kGqRJGH-ENrTJqOqzqHryRYaSuNqpLYKMFo,179
|
|
10
|
-
haystack_integrations/components/downloaders/s3/s3_downloader.py,sha256=
|
|
10
|
+
haystack_integrations/components/downloaders/s3/s3_downloader.py,sha256=YBMjsS277CJkEujfkss9l_XLcAHSqyX0UJeYB_KmQxk,12497
|
|
11
11
|
haystack_integrations/components/embedders/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
12
|
haystack_integrations/components/embedders/amazon_bedrock/__init__.py,sha256=7GlhHJ4jFHCxq5QN5losGuGtrGNjvEx2dSQvEYD2yG0,408
|
|
13
13
|
haystack_integrations/components/embedders/amazon_bedrock/document_embedder.py,sha256=EKLiKzN0al7OLvfIAnXXNgUTI4TbSc-qCkfjjDJeCd4,13216
|
|
@@ -16,14 +16,14 @@ haystack_integrations/components/embedders/amazon_bedrock/text_embedder.py,sha25
|
|
|
16
16
|
haystack_integrations/components/generators/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
haystack_integrations/components/generators/amazon_bedrock/__init__.py,sha256=lv4NouIVm78YavUssWQrHHP_81u-7j21qW8v1kZMJPQ,284
|
|
18
18
|
haystack_integrations/components/generators/amazon_bedrock/adapters.py,sha256=SDCi_EA-1OUmTKrnbcql9oQQuLnoAGzF_XwrKnQ1_jk,19628
|
|
19
|
-
haystack_integrations/components/generators/amazon_bedrock/generator.py,sha256=
|
|
19
|
+
haystack_integrations/components/generators/amazon_bedrock/generator.py,sha256=rKgi3T_kbsrl3w6KS9UW-SXzNbMxoLfgRaNdFq2xWZQ,14720
|
|
20
20
|
haystack_integrations/components/generators/amazon_bedrock/chat/__init__.py,sha256=6GZ8Y3Lw0rLOsOAqi6Tu5mZC977UzQvgDxKpOWr8IQw,110
|
|
21
|
-
haystack_integrations/components/generators/amazon_bedrock/chat/chat_generator.py,sha256=
|
|
21
|
+
haystack_integrations/components/generators/amazon_bedrock/chat/chat_generator.py,sha256=9jqcZR_ISwPQVrvfErY6YPtdkkxd_MsRuYbBvr7P0zA,26222
|
|
22
22
|
haystack_integrations/components/generators/amazon_bedrock/chat/utils.py,sha256=sWgh-58YeDIatDFNLX2YG1KPJghsyXK5p5uVM4pe8U4,27236
|
|
23
23
|
haystack_integrations/components/rankers/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
24
|
haystack_integrations/components/rankers/amazon_bedrock/__init__.py,sha256=mJQKShAP5AfZvfKQisSh7kfKu6RIXzsYdk4eqMtcaEk,75
|
|
25
|
-
haystack_integrations/components/rankers/amazon_bedrock/ranker.py,sha256=
|
|
26
|
-
amazon_bedrock_haystack-5.
|
|
27
|
-
amazon_bedrock_haystack-5.
|
|
28
|
-
amazon_bedrock_haystack-5.
|
|
29
|
-
amazon_bedrock_haystack-5.
|
|
25
|
+
haystack_integrations/components/rankers/amazon_bedrock/ranker.py,sha256=zlCktS8k2oY8nfyuIfSUQ1ZBnxlfuYECT3esoP_yUHo,11795
|
|
26
|
+
amazon_bedrock_haystack-5.4.0.dist-info/METADATA,sha256=gH9SbhGGRChG4WwwfsT1w4oVuWD5Az3rEQSNV2qRW34,2228
|
|
27
|
+
amazon_bedrock_haystack-5.4.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
28
|
+
amazon_bedrock_haystack-5.4.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
|
|
29
|
+
amazon_bedrock_haystack-5.4.0.dist-info/RECORD,,
|
|
@@ -142,8 +142,7 @@ class S3Downloader:
|
|
|
142
142
|
"""
|
|
143
143
|
|
|
144
144
|
if self._storage is None:
|
|
145
|
-
|
|
146
|
-
raise RuntimeError(msg)
|
|
145
|
+
self.warm_up()
|
|
147
146
|
|
|
148
147
|
filtered_documents = self._filter_documents_by_extensions(documents) if self.file_extensions else documents
|
|
149
148
|
|
|
@@ -140,7 +140,7 @@ class AmazonBedrockChatGenerator:
|
|
|
140
140
|
automatically from the environment or the AWS configuration file.
|
|
141
141
|
If the AWS environment is not configured, set `aws_access_key_id`, `aws_secret_access_key`,
|
|
142
142
|
and `aws_region_name` as environment variables or pass them as
|
|
143
|
-
[Secret](https://docs.haystack.deepset.ai/
|
|
143
|
+
[Secret](https://docs.haystack.deepset.ai/docs/secret-management) arguments. Make sure the region you set
|
|
144
144
|
supports Amazon Bedrock.
|
|
145
145
|
"""
|
|
146
146
|
|
|
@@ -58,7 +58,7 @@ class AmazonBedrockGenerator:
|
|
|
58
58
|
automatically from the environment or the AWS configuration file.
|
|
59
59
|
If the AWS environment is not configured, set `aws_access_key_id`, `aws_secret_access_key`,
|
|
60
60
|
`aws_session_token`, and `aws_region_name` as environment variables or pass them as
|
|
61
|
-
[Secret](https://docs.haystack.deepset.ai/
|
|
61
|
+
[Secret](https://docs.haystack.deepset.ai/docs/secret-management) arguments. Make sure the region you set
|
|
62
62
|
supports Amazon Bedrock.
|
|
63
63
|
"""
|
|
64
64
|
|
|
@@ -52,7 +52,7 @@ class AmazonBedrockRanker:
|
|
|
52
52
|
automatically from the environment or the AWS configuration file.
|
|
53
53
|
If the AWS environment is not configured, set `aws_access_key_id`, `aws_secret_access_key`,
|
|
54
54
|
and `aws_region_name` as environment variables or pass them as
|
|
55
|
-
[Secret](https://docs.haystack.deepset.ai/
|
|
55
|
+
[Secret](https://docs.haystack.deepset.ai/docs/secret-management) arguments. Make sure the region you set
|
|
56
56
|
supports Amazon Bedrock.
|
|
57
57
|
"""
|
|
58
58
|
|
|
File without changes
|
|
File without changes
|