haystack-experimental 0.14.2__py3-none-any.whl → 0.15.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.
Files changed (27) hide show
  1. haystack_experimental/chat_message_stores/__init__.py +1 -1
  2. haystack_experimental/chat_message_stores/in_memory.py +176 -31
  3. haystack_experimental/chat_message_stores/types.py +33 -21
  4. haystack_experimental/components/agents/agent.py +184 -35
  5. haystack_experimental/components/agents/human_in_the_loop/strategies.py +220 -3
  6. haystack_experimental/components/agents/human_in_the_loop/types.py +36 -1
  7. haystack_experimental/components/embedders/types/protocol.py +2 -2
  8. haystack_experimental/components/preprocessors/__init__.py +2 -0
  9. haystack_experimental/components/preprocessors/embedding_based_document_splitter.py +16 -16
  10. haystack_experimental/components/preprocessors/md_header_level_inferrer.py +2 -2
  11. haystack_experimental/components/retrievers/__init__.py +1 -3
  12. haystack_experimental/components/retrievers/chat_message_retriever.py +57 -26
  13. haystack_experimental/components/writers/__init__.py +1 -1
  14. haystack_experimental/components/writers/chat_message_writer.py +25 -22
  15. haystack_experimental/core/pipeline/breakpoint.py +5 -3
  16. {haystack_experimental-0.14.2.dist-info → haystack_experimental-0.15.0.dist-info}/METADATA +24 -31
  17. {haystack_experimental-0.14.2.dist-info → haystack_experimental-0.15.0.dist-info}/RECORD +20 -27
  18. {haystack_experimental-0.14.2.dist-info → haystack_experimental-0.15.0.dist-info}/WHEEL +1 -1
  19. haystack_experimental/components/query/__init__.py +0 -18
  20. haystack_experimental/components/query/query_expander.py +0 -299
  21. haystack_experimental/components/retrievers/multi_query_embedding_retriever.py +0 -180
  22. haystack_experimental/components/retrievers/multi_query_text_retriever.py +0 -158
  23. haystack_experimental/super_components/__init__.py +0 -3
  24. haystack_experimental/super_components/indexers/__init__.py +0 -11
  25. haystack_experimental/super_components/indexers/sentence_transformers_document_indexer.py +0 -199
  26. {haystack_experimental-0.14.2.dist-info → haystack_experimental-0.15.0.dist-info}/licenses/LICENSE +0 -0
  27. {haystack_experimental-0.14.2.dist-info → haystack_experimental-0.15.0.dist-info}/licenses/LICENSE-MIT.txt +0 -0
@@ -4,4 +4,4 @@
4
4
 
5
5
  from haystack_experimental.components.writers.chat_message_writer import ChatMessageWriter
6
6
 
7
- _all_ = ["ChatMessageWriter"]
7
+ __all__ = ["ChatMessageWriter"]
@@ -2,16 +2,14 @@
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
 
5
- from typing import Any, Dict, List
5
+ from typing import Any
6
6
 
7
- from haystack import DeserializationError, component, default_from_dict, default_to_dict, logging
7
+ from haystack import DeserializationError, component, default_from_dict, default_to_dict
8
8
  from haystack.core.serialization import import_class_by_name
9
9
  from haystack.dataclasses import ChatMessage
10
10
 
11
11
  from haystack_experimental.chat_message_stores.types import ChatMessageStore
12
12
 
13
- logger = logging.getLogger(__name__)
14
-
15
13
 
16
14
  @component
17
15
  class ChatMessageWriter:
@@ -30,30 +28,30 @@ class ChatMessageWriter:
30
28
  ]
31
29
  message_store = InMemoryChatMessageStore()
32
30
  writer = ChatMessageWriter(message_store)
33
- writer.run(messages)
31
+ writer.run(chat_history_id="user_456_session_123", messages=messages)
34
32
  ```
35
33
  """
36
34
 
37
- def __init__(self, message_store: ChatMessageStore):
35
+ def __init__(self, chat_message_store: ChatMessageStore) -> None:
38
36
  """
39
37
  Create a ChatMessageWriter component.
40
38
 
41
- :param message_store:
39
+ :param chat_message_store:
42
40
  The ChatMessageStore where the chat messages are to be written.
43
41
  """
44
- self.message_store = message_store
42
+ self.chat_message_store = chat_message_store
45
43
 
46
- def to_dict(self) -> Dict[str, Any]:
44
+ def to_dict(self) -> dict[str, Any]:
47
45
  """
48
46
  Serializes the component to a dictionary.
49
47
 
50
48
  :returns:
51
49
  Dictionary with serialized data.
52
50
  """
53
- return default_to_dict(self, message_store=self.message_store.to_dict())
51
+ return default_to_dict(self, chat_message_store=self.chat_message_store.to_dict())
54
52
 
55
53
  @classmethod
56
- def from_dict(cls, data: Dict[str, Any]) -> "ChatMessageWriter":
54
+ def from_dict(cls, data: dict[str, Any]) -> "ChatMessageWriter":
57
55
  """
58
56
  Deserializes the component from a dictionary.
59
57
 
@@ -66,31 +64,36 @@ class ChatMessageWriter:
66
64
  If the message store is not properly specified in the serialization data or its type cannot be imported.
67
65
  """
68
66
  init_params = data.get("init_parameters", {})
69
- if "message_store" not in init_params:
70
- raise DeserializationError("Missing 'message_store' in serialization data")
71
- if "type" not in init_params["message_store"]:
67
+ if "chat_message_store" not in init_params:
68
+ raise DeserializationError("Missing 'chat_message_store' in serialization data")
69
+ if "type" not in init_params["chat_message_store"]:
72
70
  raise DeserializationError("Missing 'type' in message store's serialization data")
73
- message_store_data = init_params["message_store"]
71
+
72
+ message_store_data = init_params["chat_message_store"]
74
73
  try:
75
74
  message_store_class = import_class_by_name(message_store_data["type"])
76
75
  except ImportError as e:
77
76
  raise DeserializationError(f"Class '{message_store_data['type']}' not correctly imported") from e
78
- data["init_parameters"]["message_store"] = default_from_dict(message_store_class, message_store_data)
77
+ if not hasattr(message_store_class, "from_dict"):
78
+ raise DeserializationError(f"{message_store_class} does not have from_dict method implemented.")
79
+ init_params["chat_message_store"] = message_store_class.from_dict(message_store_data)
80
+
79
81
  return default_from_dict(cls, data)
80
82
 
81
83
  @component.output_types(messages_written=int)
82
- def run(self, messages: List[ChatMessage]) -> Dict[str, int]:
84
+ def run(self, chat_history_id: str, messages: list[ChatMessage]) -> dict[str, int]:
83
85
  """
84
86
  Run the ChatMessageWriter on the given input data.
85
87
 
88
+ :param chat_history_id:
89
+ A unique identifier for the chat session or conversation whose messages should be retrieved.
90
+ Each `chat_history_id` corresponds to a distinct chat history stored in the underlying ChatMessageStore.
91
+ For example, use a session ID or conversation ID to isolate messages from different chat sessions.
86
92
  :param messages:
87
93
  A list of chat messages to write to the store.
94
+
88
95
  :returns:
89
96
  - `messages_written`: Number of messages written to the ChatMessageStore.
90
-
91
- :raises ValueError:
92
- If the specified message store is not found.
93
97
  """
94
-
95
- messages_written = self.message_store.write_messages(messages=messages)
98
+ messages_written = self.chat_message_store.write_messages(chat_history_id=chat_history_id, messages=messages)
96
99
  return {"messages_written": messages_written}
@@ -2,12 +2,12 @@
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
 
5
- from copy import deepcopy
6
5
  from dataclasses import replace
7
6
  from datetime import datetime
8
7
  from typing import TYPE_CHECKING, Any, Optional
9
8
 
10
9
  from haystack import logging
10
+ from haystack.core.pipeline.utils import _deepcopy_with_exceptions
11
11
  from haystack.dataclasses.breakpoints import AgentBreakpoint, PipelineSnapshot, PipelineState, ToolBreakpoint
12
12
  from haystack.utils.base_serialization import _serialize_value_with_schema
13
13
  from haystack.utils.misc import _get_output_dir
@@ -44,8 +44,10 @@ def _create_agent_snapshot(
44
44
  """
45
45
  return AgentSnapshot(
46
46
  component_inputs={
47
- "chat_generator": _serialize_value_with_schema(deepcopy(component_inputs["chat_generator"])),
48
- "tool_invoker": _serialize_value_with_schema(deepcopy(component_inputs["tool_invoker"])),
47
+ "chat_generator": _serialize_value_with_schema(
48
+ _deepcopy_with_exceptions(component_inputs["chat_generator"])
49
+ ),
50
+ "tool_invoker": _serialize_value_with_schema(_deepcopy_with_exceptions(component_inputs["tool_invoker"])),
49
51
  },
50
52
  component_visits=component_visits,
51
53
  break_point=agent_breakpoint,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haystack-experimental
3
- Version: 0.14.2
3
+ Version: 0.15.0
4
4
  Summary: Experimental components and features for the Haystack LLM framework.
5
5
  Project-URL: CI: GitHub, https://github.com/deepset-ai/haystack-experimental/actions
6
6
  Project-URL: GitHub: issues, https://github.com/deepset-ai/haystack-experimental/issues
@@ -71,35 +71,24 @@ that includes it. Once it reaches the end of its lifespan, the experiment will b
71
71
 
72
72
  ### Active experiments
73
73
 
74
- | Name | Type | Expected End Date | Dependencies | Cookbook | Discussion |
75
- |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|-------------------|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|
76
- | [`InMemoryChatMessageStore`][1] | Memory Store | December 2024 | None | <a href="https://colab.research.google.com/github/deepset-ai/haystack-cookbook/blob/main/notebooks/conversational_rag_using_memory.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> | [Discuss][4] |
77
- | [`ChatMessageRetriever`][2] | Memory Component | December 2024 | None | <a href="https://colab.research.google.com/github/deepset-ai/haystack-cookbook/blob/main/notebooks/conversational_rag_using_memory.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> | [Discuss][4] |
78
- | [`ChatMessageWriter`][3] | Memory Component | December 2024 | None | <a href="https://colab.research.google.com/github/deepset-ai/haystack-cookbook/blob/main/notebooks/conversational_rag_using_memory.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> | [Discuss][4] |
79
- | [`QueryExpander`][5] | Query Expansion Component | October 2025 | None | None | [Discuss][6] |
80
- | [`EmbeddingBasedDocumentSplitter`][8] | EmbeddingBasedDocumentSplitter | August 2025 | None | None | [Discuss][7] |
81
- | [`MultiQueryEmbeddingRetriever`][13] | MultiQueryEmbeddingRetriever | November 2025 | None | None | [Discuss][11] |
82
- | [`MultiQueryTextRetriever`][14] | MultiQueryTextRetriever | November 2025 | None | None | [Discuss][12] |
83
- | [`OpenAIChatGenerator`][9] | Chat Generator Component | November 2025 | None | <a href="https://colab.research.google.com/github/deepset-ai/haystack-cookbook/blob/main/notebooks/hallucination_score_calculator.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> | [Discuss][10] |
84
- | [`MarkdownHeaderLevelInferrer`][15] | Preprocessor | January 2025 | None | None | [Discuss][16] |
85
- | [`Agent`][17]; [Confirmation Policies][18]; [ConfirmationUIs][19]; [ConfirmationStrategies][20]; [`ConfirmationUIResult` and `ToolExecutionDecision`][21] [HITLBreakpointException][22] | Human in the Loop | December 2025 | rich | None | [Discuss][23] |
86
- | [`LLMSummarizer`][24] | Document Summarizer | January 2025 | None | None | [Discuss][25] |
74
+ | Name | Type | Expected End Date | Dependencies | Cookbook | Discussion |
75
+ |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------|-------------------|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|
76
+ | [`EmbeddingBasedDocumentSplitter`][8] | EmbeddingBasedDocumentSplitter | August 2025 | None | None | [Discuss][7] |
77
+ | [`OpenAIChatGenerator`][9] | Chat Generator Component | November 2025 | None | <a href="https://colab.research.google.com/github/deepset-ai/haystack-cookbook/blob/main/notebooks/hallucination_score_calculator.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> | [Discuss][10] |
78
+ | [`MarkdownHeaderLevelInferrer`][15] | Preprocessor | January 2025 | None | None | [Discuss][16] |
79
+ | [`Agent`][17]; [Confirmation Policies][18]; [ConfirmationUIs][19]; [ConfirmationStrategies][20]; [`ConfirmationUIResult` and `ToolExecutionDecision`][21] [HITLBreakpointException][22] | Human in the Loop | December 2025 | rich | None | [Discuss][23] |
80
+ | [`LLMSummarizer`][24] | Document Summarizer | January 2025 | None | None | [Discuss][25] |
81
+ | [`InMemoryChatMessageStore`][1]; [`ChatMessageRetriever`][2]; [`ChatMessageWriter`][3] | Chat Message Store, Retriever, Writer | February 2025 | None | <a href="https://colab.research.google.com/github/deepset-ai/haystack-cookbook/blob/main/notebooks/conversational_rag_using_memory.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> | [Discuss][4] |
87
82
 
88
83
  [1]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/chat_message_stores/in_memory.py
89
84
  [2]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/retrievers/chat_message_retriever.py
90
85
  [3]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/writers/chat_message_writer.py
91
86
  [4]: https://github.com/deepset-ai/haystack-experimental/discussions/75
92
- [5]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/query/query_expander.py
93
- [6]: https://github.com/deepset-ai/haystack-experimental/discussions/346
94
87
  [7]: https://github.com/deepset-ai/haystack-experimental/discussions/356
95
88
  [8]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/preprocessors/embedding_based_document_splitter.py
96
89
  [9]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/generators/chat/openai.py
97
90
  [10]: https://github.com/deepset-ai/haystack-experimental/discussions/361
98
- [11]: https://github.com/deepset-ai/haystack-experimental/discussions/363
99
- [12]: https://github.com/deepset-ai/haystack-experimental/discussions/364
100
- [13]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/retrievers/multi_query_embedding_retriever.py
101
- [14]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/retrievers/multi_query_text_retriever.py
102
- [15]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/preprocessors/md_header_level_inferrer.py
91
+ [15]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/preprocessors/md_header_level_inferrer.py
103
92
  [16]: https://github.com/deepset-ai/haystack-experimental/discussions/376
104
93
  [17]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/agent.py
105
94
  [18]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/human_in_the_loop/policies.py
@@ -112,16 +101,20 @@ that includes it. Once it reaches the end of its lifespan, the experiment will b
112
101
  [25]: https://github.com/deepset-ai/haystack-experimental/discussions/382
113
102
 
114
103
  ### Adopted experiments
115
- | Name | Type | Final release |
116
- |----------------------------------------------------------------------------------------|------------------------------------------|---------------|
117
- | `ChatMessage` refactoring; `Tool` class; tool support in ChatGenerators; `ToolInvoker` | Tool Calling support | 0.4.0 |
118
- | `AsyncPipeline`; `Pipeline` bug fixes and refactoring | AsyncPipeline execution | 0.7.0 |
119
- | `LLMMetadataExtractor` | Metadata extraction with LLM | 0.7.0 |
120
- | `Auto-Merging Retriever` & `HierarchicalDocumentSplitter` | Document Splitting & Retrieval Technique | 0.8.0 |
121
- | `Agent` | Simplify Agent development | 0.8.0 |
122
- | `SuperComponent` | Simplify Pipeline development | 0.8.0 |
123
- | `Pipeline` | Pipeline breakpoints for debugging | 0.12.0 |
124
- | `ImageContent`; Image Converters; multimodal support in `OpenAIChatGenerator` and `AmazonBedrockChatGenerator`; `ChatPromptBuilder` refactoring; `SentenceTransformersDocumentImageEmbedder`; `LLMDocumentContentExtractor`; new `Routers` | Multimodality | 0.12.0 |
104
+ | Name | Type | Final release |
105
+ |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------|---------------|
106
+ | `ChatMessage` refactoring; `Tool` class; tool support in ChatGenerators; `ToolInvoker` | Tool Calling support | 0.4.0 |
107
+ | `AsyncPipeline`; `Pipeline` bug fixes and refactoring | AsyncPipeline execution | 0.7.0 |
108
+ | `LLMMetadataExtractor` | Metadata extraction with LLM | 0.7.0 |
109
+ | `Auto-Merging Retriever` & `HierarchicalDocumentSplitter` | Document Splitting & Retrieval Technique | 0.8.0 |
110
+ | `Agent` | Simplify Agent development | 0.8.0 |
111
+ | `SuperComponent` | Simplify Pipeline development | 0.8.0 |
112
+ | `Pipeline` | Pipeline breakpoints for debugging | 0.12.0 |
113
+ | `ImageContent`; Image Converters; multimodal support in `OpenAIChatGenerator` and `AmazonBedrockChatGenerator`; `ChatPromptBuilder` refactoring; `SentenceTransformersDocumentImageEmbedder`; `LLMDocumentContentExtractor`; new `Routers` | Multimodality | 0.12.0 |
114
+ | `QueryExpander` | Query Expansion Component | 0.14.3 |
115
+ | `MultiQueryEmbeddingRetriever` | MultiQueryEmbeddingRetriever | 0.14.3 |
116
+ | `MultiQueryTextRetriever` | MultiQueryTextRetriever | 0.14.3 |
117
+
125
118
 
126
119
  ### Discontinued experiments
127
120
 
@@ -1,55 +1,48 @@
1
1
  haystack_experimental/__init__.py,sha256=eHD7xrty2PCky_gG3ty19rpM4WfV32TyytM7gJODwl4,110
2
- haystack_experimental/chat_message_stores/__init__.py,sha256=sQhjMoaVfC0XsL257egtZageGg_NgzntRF71rPS0lvc,238
3
- haystack_experimental/chat_message_stores/in_memory.py,sha256=nc_B_70KOvtgsul4QJb7HihHZrO220HRFsm-aXjYFJk,2305
4
- haystack_experimental/chat_message_stores/types.py,sha256=QzjA5-A08PlMAy7MMLNNUpob8S60Ypec74gSbz_l49E,2101
2
+ haystack_experimental/chat_message_stores/__init__.py,sha256=zu1bbMQDv9xUbGadIKWrC8v-87w_Xxg6KQnTb6K0k-Q,240
3
+ haystack_experimental/chat_message_stores/in_memory.py,sha256=i4ZK5W0Q0rDpgoRCYdIjPoJV8UJBr1PlUBH4ul5Adxk,8688
4
+ haystack_experimental/chat_message_stores/types.py,sha256=mXz6QTCyNomSBzr1eU76oHVrxQEwPDuiTIGTWvKwYJM,2739
5
5
  haystack_experimental/components/__init__.py,sha256=eHD7xrty2PCky_gG3ty19rpM4WfV32TyytM7gJODwl4,110
6
6
  haystack_experimental/components/agents/__init__.py,sha256=Sxu9LxPpQ5cljgoTgUeNC0GY8CwUdiSy1JWkd_-RRJ4,414
7
- haystack_experimental/components/agents/agent.py,sha256=1H8fzEp97QtRWXx336PDRj1lJEUyH4aYr-HcHbNZvTw,32789
7
+ haystack_experimental/components/agents/agent.py,sha256=ZIrzAQygva8zFhEl1Tu7WRJCz0W_MersPjtesqx8HQE,42128
8
8
  haystack_experimental/components/agents/human_in_the_loop/__init__.py,sha256=xLr1G9pNWMmCpKN9mbv6yqeFfwMcbZyaVfCkzlwMxhY,1674
9
9
  haystack_experimental/components/agents/human_in_the_loop/breakpoint.py,sha256=GhNdGdFNDnwSiTukD4WVp6-1YgGjq5oqCEcGMC2dcog,2902
10
10
  haystack_experimental/components/agents/human_in_the_loop/dataclasses.py,sha256=OakB0PXBSG0LbQixcuo-d7IC-A3_k6qi80pB8hwY23o,2563
11
11
  haystack_experimental/components/agents/human_in_the_loop/errors.py,sha256=HAjD_MCOTBirqnJdxpc2MhqIm-XnU3Soev29wRBWoMw,1066
12
12
  haystack_experimental/components/agents/human_in_the_loop/policies.py,sha256=nzblePptT4Fg2GFHa4_SDIK_d7hZ_70qPhkteZBRXWk,3172
13
- haystack_experimental/components/agents/human_in_the_loop/strategies.py,sha256=KXfMLky27EuxOUhqbHO7oQ3KkL_3lzkwvk1Gk1EMXYY,19643
14
- haystack_experimental/components/agents/human_in_the_loop/types.py,sha256=aY93Wsd-5BgOiJaaSEGB_bGC-BTx_V_UT1faXtbNNdo,3072
13
+ haystack_experimental/components/agents/human_in_the_loop/strategies.py,sha256=kX_3T6DWh4l3_-baOtJPwR0rZi4ZYWUibRA1Myeikp8,28645
14
+ haystack_experimental/components/agents/human_in_the_loop/types.py,sha256=zdKGZ0vgaq-e0akYV_aGvCBpXplRiorpWcBmEbOQvT8,4604
15
15
  haystack_experimental/components/agents/human_in_the_loop/user_interfaces.py,sha256=HlJ3-CYNrQGsHOtpvrQE4ayQls8Q3EkLFUkOoRnLVC4,8707
16
16
  haystack_experimental/components/embedders/__init__.py,sha256=eHD7xrty2PCky_gG3ty19rpM4WfV32TyytM7gJODwl4,110
17
17
  haystack_experimental/components/embedders/types/__init__.py,sha256=HGR8aavwIEx7v-8nm5JxFIw47EWn7vAUmywhakTNDCo,182
18
- haystack_experimental/components/embedders/types/protocol.py,sha256=EEVtggoYWZL6zF-vbasJollCxLbheMYIISAh7hJ8LkA,1038
18
+ haystack_experimental/components/embedders/types/protocol.py,sha256=nVMo2x_sFP9T_DN-q-_HKGrLRd3rj27m7ZLxtigY4UQ,1026
19
19
  haystack_experimental/components/generators/__init__.py,sha256=eHD7xrty2PCky_gG3ty19rpM4WfV32TyytM7gJODwl4,110
20
20
  haystack_experimental/components/generators/chat/__init__.py,sha256=LEKI1mMtltVbSiU40QgBfnWC-z3_660TWuV-cVHhdTw,465
21
21
  haystack_experimental/components/generators/chat/openai.py,sha256=gX6UI4yfY0pzKhWErquvPF_gV-3Ut0y6wSJytAD07Jk,9855
22
- haystack_experimental/components/preprocessors/__init__.py,sha256=x3fM1lpGzYjWB3hpdbDWxXr_rYASb2e9yX0PgYG84rA,518
23
- haystack_experimental/components/preprocessors/embedding_based_document_splitter.py,sha256=VyQ--gaMsWid-IRBVXi5YPJpwbFlaK-2mRFvRF8MSBQ,17616
24
- haystack_experimental/components/preprocessors/md_header_level_inferrer.py,sha256=1Tn-H4Gvg2yYSUc54cPWKTCK78KXet5u32_1S8PM3NU,5643
25
- haystack_experimental/components/query/__init__.py,sha256=quaqe16cbtgIdJx7d56CMdk1zZQ6f_3_TICsU0HF_U8,446
26
- haystack_experimental/components/query/query_expander.py,sha256=cZAT6ThSXXfeI-Fg2FrnqWn7uOvl9m5z8Pz8wKvrJuw,12295
27
- haystack_experimental/components/retrievers/__init__.py,sha256=CqPvqyvGp5L3Y1gTVQC8DD_xHzbIfTzGlj3oCsZM3J8,528
28
- haystack_experimental/components/retrievers/chat_message_retriever.py,sha256=CaAgW1qzzhMYyKNOyk-eIBgSsO7Bg7uDqAtgcorCE60,4030
29
- haystack_experimental/components/retrievers/multi_query_embedding_retriever.py,sha256=IAjAh3SqsKx_d8QEfRAqVYNDL5UUuBb3GNJPDGjokjU,8103
30
- haystack_experimental/components/retrievers/multi_query_text_retriever.py,sha256=5awo60jy0attihYsNCG4LlJGROSjP2mFX2wAQiXYYOc,6557
22
+ haystack_experimental/components/preprocessors/__init__.py,sha256=qZPFKpRxdw_VZ8fZ4T3GIKOObsbeOf_pKnZbLHR9AFU,653
23
+ haystack_experimental/components/preprocessors/embedding_based_document_splitter.py,sha256=NLi9e-aVJkZEvwQVzeWduyvR74wlYRHe6ZviDBx2rTk,17604
24
+ haystack_experimental/components/preprocessors/md_header_level_inferrer.py,sha256=vyJWAFN-uhBkb5nCuJm0p29H75gGeaomOlHolD-fj5Q,5604
25
+ haystack_experimental/components/retrievers/__init__.py,sha256=7NLOg-A7LmwxskDYebB_bDzawByCb7cXn67hVN_3e6I,245
26
+ haystack_experimental/components/retrievers/chat_message_retriever.py,sha256=O94cNAbiTQ1Jkwsk6qjt9ty4JJwd_3uBh1odJjcvG2I,6046
31
27
  haystack_experimental/components/retrievers/types/__init__.py,sha256=iOngs3gs5enY8y6AWGeyQANTB_9qpXQ0QHSFFDDeEGc,218
32
28
  haystack_experimental/components/retrievers/types/protocol.py,sha256=oUdX_P_pTszzamrkUz3YZsXL3bb4mAYIXsPCtKDH1tw,2375
33
29
  haystack_experimental/components/summarizers/__init__.py,sha256=BqnfB0ZMb9ufYUjJ4qmmmRLPXa9FT8XKhMWW8G9Zg9Y,221
34
30
  haystack_experimental/components/summarizers/llm_summarizer.py,sha256=Rzl3DKWENBKoAiHvgYPsc4ev0WHZGJZj4PBF-FDHiXI,14392
35
- haystack_experimental/components/writers/__init__.py,sha256=iMdeAaZozza8E6dQ4Lc2uOYIFaR95K7bR9mSeuDqSAA,233
36
- haystack_experimental/components/writers/chat_message_writer.py,sha256=iu8gmvmRXlqd9S2-9B8p-7C0Y5GTuOI1AqcVKAkrzDc,3502
31
+ haystack_experimental/components/writers/__init__.py,sha256=DNVIwIEUi6HKsGM5UcIUPjVH7P3I8Hzc8e4PO7tjoPM,235
32
+ haystack_experimental/components/writers/chat_message_writer.py,sha256=Mkv9nShsPFAw1PPC6cK-tyYmXjWydCOl62boPNr7KkU,4042
37
33
  haystack_experimental/core/__init__.py,sha256=eHD7xrty2PCky_gG3ty19rpM4WfV32TyytM7gJODwl4,110
38
34
  haystack_experimental/core/pipeline/__init__.py,sha256=eHD7xrty2PCky_gG3ty19rpM4WfV32TyytM7gJODwl4,110
39
- haystack_experimental/core/pipeline/breakpoint.py,sha256=JtwQP8OF5Sdqo0abPRgs1K3SqBkUXhZ53PkeagcK2ZE,5134
35
+ haystack_experimental/core/pipeline/breakpoint.py,sha256=x6EW1lAv4em1z90Ezr0oKNOZGiR8jorzZBI4MOU6qKg,5239
40
36
  haystack_experimental/dataclasses/__init__.py,sha256=eHD7xrty2PCky_gG3ty19rpM4WfV32TyytM7gJODwl4,110
41
37
  haystack_experimental/dataclasses/breakpoints.py,sha256=f0kxYXJRHzk6jAW5Na51MZfUuRIlulhN4oTrGWTpSFE,2095
42
- haystack_experimental/super_components/__init__.py,sha256=eHD7xrty2PCky_gG3ty19rpM4WfV32TyytM7gJODwl4,110
43
- haystack_experimental/super_components/indexers/__init__.py,sha256=4VPKnuzVb89Zb4PT6ejYT4s0zJ4I3rwFtcLwsCdQKJA,313
44
- haystack_experimental/super_components/indexers/sentence_transformers_document_indexer.py,sha256=hfXznLVTgO39xO4GRYgi2Xy-pl4EFKtt13JrGncjvXQ,8519
45
38
  haystack_experimental/utils/__init__.py,sha256=eHD7xrty2PCky_gG3ty19rpM4WfV32TyytM7gJODwl4,110
46
39
  haystack_experimental/utils/hallucination_risk_calculator/__init__.py,sha256=kCd-qceud_T8P1XJHgRMaOnljyDjfFQ5UIdxEb5t6V0,219
47
40
  haystack_experimental/utils/hallucination_risk_calculator/core_math.py,sha256=8XIa2gX1B7U400KutPgxfIUHrOggkBPAm9gIkwhF7UM,4079
48
41
  haystack_experimental/utils/hallucination_risk_calculator/dataclasses.py,sha256=3vk9jsbW-7C9n408Qe730qgdXxIOzsTigf4TMLpryvI,2318
49
42
  haystack_experimental/utils/hallucination_risk_calculator/openai_planner.py,sha256=-yVQsGzM5rXsAVwolE6sp5W6q1yDw66SiIUuUbPk1ng,11413
50
43
  haystack_experimental/utils/hallucination_risk_calculator/skeletonization.py,sha256=qNdBUoFiBjQsI3ovrhd4RyTFmIbv51Goai1Z_l9lG28,5488
51
- haystack_experimental-0.14.2.dist-info/METADATA,sha256=5wj3kC9aQ6B3TOrh9FNXmkbQMD1nEnF2eUoRc-B2yqA,18566
52
- haystack_experimental-0.14.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
53
- haystack_experimental-0.14.2.dist-info/licenses/LICENSE,sha256=93_5nS97uHxptHvK9E8BZgKxLGeIS-rBWT2swIv-X5Y,11368
54
- haystack_experimental-0.14.2.dist-info/licenses/LICENSE-MIT.txt,sha256=knmLkIKj_6tTrTSVRg9Tq88Kww4UCPLt2I1RGXJv9sQ,1037
55
- haystack_experimental-0.14.2.dist-info/RECORD,,
44
+ haystack_experimental-0.15.0.dist-info/METADATA,sha256=j6tBvRNP5fG70p7tigTeiA0A57pnUFriu2fA2oxXPas,17581
45
+ haystack_experimental-0.15.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
46
+ haystack_experimental-0.15.0.dist-info/licenses/LICENSE,sha256=93_5nS97uHxptHvK9E8BZgKxLGeIS-rBWT2swIv-X5Y,11368
47
+ haystack_experimental-0.15.0.dist-info/licenses/LICENSE-MIT.txt,sha256=knmLkIKj_6tTrTSVRg9Tq88Kww4UCPLt2I1RGXJv9sQ,1037
48
+ haystack_experimental-0.15.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,18 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
2
- #
3
- # SPDX-License-Identifier: Apache-2.0
4
-
5
- import sys
6
- from typing import TYPE_CHECKING
7
-
8
- from lazy_imports import LazyImporter
9
-
10
- _import_structure = {
11
- "query_expander": ["QueryExpander"],
12
- }
13
-
14
- if TYPE_CHECKING:
15
- from .query_expander import QueryExpander
16
-
17
- else:
18
- sys.modules[__name__] = LazyImporter(name=__name__, module_file=__file__, import_structure=_import_structure)