amazon-bedrock-haystack 4.2.0__py3-none-any.whl → 5.0.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amazon-bedrock-haystack
3
- Version: 4.2.0
3
+ Version: 5.0.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
@@ -21,9 +21,9 @@ haystack_integrations/components/generators/amazon_bedrock/chat/__init__.py,sha2
21
21
  haystack_integrations/components/generators/amazon_bedrock/chat/chat_generator.py,sha256=qArwfXcforWnPzLXrAW-1hkPFpMy3NSdDyJ5GOta25w,26068
22
22
  haystack_integrations/components/generators/amazon_bedrock/chat/utils.py,sha256=1M_k8CG2WH23Yz-sB7a1kiIqVh2QB8Pqi0zbWXyMUL8,27255
23
23
  haystack_integrations/components/rankers/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
- haystack_integrations/components/rankers/amazon_bedrock/__init__.py,sha256=Zrc3BSVkEaXYpliEi6hKG9bqW4J7DNk93p50SuoyT1Q,107
25
- haystack_integrations/components/rankers/amazon_bedrock/ranker.py,sha256=enAjf2QyDwfpidKkFCdLz954cx-Tjh9emrOS3vINJDg,12344
26
- amazon_bedrock_haystack-4.2.0.dist-info/METADATA,sha256=HM32juznvZMTZgwNyS34vsLTZeBsLxaru7sUmGz4xQA,2228
27
- amazon_bedrock_haystack-4.2.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
28
- amazon_bedrock_haystack-4.2.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
29
- amazon_bedrock_haystack-4.2.0.dist-info/RECORD,,
24
+ haystack_integrations/components/rankers/amazon_bedrock/__init__.py,sha256=mJQKShAP5AfZvfKQisSh7kfKu6RIXzsYdk4eqMtcaEk,75
25
+ haystack_integrations/components/rankers/amazon_bedrock/ranker.py,sha256=QWtUKfJxMrlfLCWTb8cCP-lKEthnEBwnTd1NSbiFMkg,11812
26
+ amazon_bedrock_haystack-5.0.0.dist-info/METADATA,sha256=9W2R2hivKGIq1Lj6jdls8wmIncjF-k2ekFy-6ePCy0w,2228
27
+ amazon_bedrock_haystack-5.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
28
+ amazon_bedrock_haystack-5.0.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
29
+ amazon_bedrock_haystack-5.0.0.dist-info/RECORD,,
@@ -1,3 +1,3 @@
1
- from .ranker import AmazonBedrockRanker, BedrockRanker
1
+ from .ranker import AmazonBedrockRanker
2
2
 
3
- __all__ = ["AmazonBedrockRanker", "BedrockRanker"]
3
+ __all__ = ["AmazonBedrockRanker"]
@@ -1,4 +1,3 @@
1
- import warnings
2
1
  from typing import Any, Dict, List, Optional
3
2
 
4
3
  from botocore.exceptions import ClientError
@@ -265,20 +264,3 @@ class AmazonBedrockRanker:
265
264
  except Exception as exception:
266
265
  msg = f"Error during Amazon Bedrock API call: {exception}"
267
266
  raise AmazonBedrockInferenceError(msg) from exception
268
-
269
-
270
- class BedrockRanker(AmazonBedrockRanker):
271
- """
272
- Deprecated alias for AmazonBedrockRanker.
273
- This class will be removed in a future version.
274
- Please use AmazonBedrockRanker instead.
275
- """
276
-
277
- def __init__(self, *args, **kwargs):
278
- warnings.warn(
279
- "BedrockRanker is deprecated and will be removed in a future version. "
280
- "Please use AmazonBedrockRanker instead.",
281
- DeprecationWarning,
282
- stacklevel=2,
283
- )
284
- super().__init__(*args, **kwargs)