cometapi-haystack 1.1.0__py3-none-any.whl → 2.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: cometapi-haystack
3
- Version: 1.1.0
3
+ Version: 2.0.0
4
4
  Summary: Use Comet API with Haystack to build AI applications with 500+ AI models.
5
5
  Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/cometapi#readme
6
6
  Project-URL: Issues, https://github.com/deepset-ai/haystack-core-integrations/issues
@@ -11,15 +11,14 @@ License-File: LICENSE.txt
11
11
  Classifier: Development Status :: 4 - Beta
12
12
  Classifier: License :: OSI Approved :: Apache Software License
13
13
  Classifier: Programming Language :: Python
14
- Classifier: Programming Language :: Python :: 3.9
15
14
  Classifier: Programming Language :: Python :: 3.10
16
15
  Classifier: Programming Language :: Python :: 3.11
17
16
  Classifier: Programming Language :: Python :: 3.12
18
17
  Classifier: Programming Language :: Python :: 3.13
19
18
  Classifier: Programming Language :: Python :: Implementation :: CPython
20
19
  Classifier: Programming Language :: Python :: Implementation :: PyPy
21
- Requires-Python: >=3.9
22
- Requires-Dist: haystack-ai>=2.13.2
20
+ Requires-Python: >=3.10
21
+ Requires-Dist: haystack-ai>=2.22.0
23
22
  Description-Content-Type: text/markdown
24
23
 
25
24
  # cometapi-haystack
@@ -0,0 +1,7 @@
1
+ haystack_integrations/components/generators/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ haystack_integrations/components/generators/cometapi/__init__.py,sha256=NhfpuefQUSWmMQ3oZ0bavRiQ35Z0EdMeXF_-ORCnV1M,203
3
+ haystack_integrations/components/generators/cometapi/chat/chat_generator.py,sha256=evjt0KKEkNgWnQXS-WGdmxPH9yMVcf-yqMhhYseUoJ0,2599
4
+ cometapi_haystack-2.0.0.dist-info/METADATA,sha256=ohvF37XP2tWSvKBlgT_onSjfcPvgKftdFV2YcIDbKnQ,1911
5
+ cometapi_haystack-2.0.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
6
+ cometapi_haystack-2.0.0.dist-info/licenses/LICENSE.txt,sha256=nJOjilTInDpTuBqBSK2Aqb8SsVXTcy2oZpaZPuxDu18,10807
7
+ cometapi_haystack-2.0.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.27.0
2
+ Generator: hatchling 1.28.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,4 +1,4 @@
1
- from typing import Any, Optional, Union
1
+ from typing import Any
2
2
 
3
3
  from haystack.components.generators.chat import OpenAIChatGenerator
4
4
  from haystack.dataclasses import StreamingCallbackT
@@ -34,13 +34,13 @@ class CometAPIChatGenerator(OpenAIChatGenerator):
34
34
  *,
35
35
  api_key: Secret = Secret.from_env_var("COMET_API_KEY"),
36
36
  model: str = "gpt-5-mini",
37
- streaming_callback: Optional[StreamingCallbackT] = None,
38
- generation_kwargs: Optional[dict[str, Any]] = None,
39
- timeout: Optional[int] = None,
40
- max_retries: Optional[int] = None,
41
- tools: Optional[Union[list[Union[Tool, Toolset]], Toolset]] = None,
37
+ streaming_callback: StreamingCallbackT | None = None,
38
+ generation_kwargs: dict[str, Any] | None = None,
39
+ timeout: int | None = None,
40
+ max_retries: int | None = None,
41
+ tools: list[Tool | Toolset] | Toolset | None = None,
42
42
  tools_strict: bool = False,
43
- http_client_kwargs: Optional[dict[str, Any]] = None,
43
+ http_client_kwargs: dict[str, Any] | None = None,
44
44
  ):
45
45
  api_base_url = "https://api.cometapi.com/v1"
46
46
 
@@ -1,7 +0,0 @@
1
- haystack_integrations/components/generators/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- haystack_integrations/components/generators/cometapi/__init__.py,sha256=NhfpuefQUSWmMQ3oZ0bavRiQ35Z0EdMeXF_-ORCnV1M,203
3
- haystack_integrations/components/generators/cometapi/chat/chat_generator.py,sha256=9DENn-AWCxMapq-558KsvCeXBLHS7LAiTbwxcvocqvo,2646
4
- cometapi_haystack-1.1.0.dist-info/METADATA,sha256=T9GfB3zT4007r681Wnl6L0UdxDyDs5yVcFgtQqtZ-zw,1960
5
- cometapi_haystack-1.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
6
- cometapi_haystack-1.1.0.dist-info/licenses/LICENSE.txt,sha256=nJOjilTInDpTuBqBSK2Aqb8SsVXTcy2oZpaZPuxDu18,10807
7
- cometapi_haystack-1.1.0.dist-info/RECORD,,