haystack-experimental 0.13.0__tar.gz → 0.14.0__tar.gz
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.
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/PKG-INFO +29 -14
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/README.md +27 -13
- haystack_experimental-0.14.0/haystack_experimental/components/agents/__init__.py +16 -0
- haystack_experimental-0.14.0/haystack_experimental/components/agents/agent.py +634 -0
- haystack_experimental-0.14.0/haystack_experimental/components/agents/human_in_the_loop/__init__.py +35 -0
- haystack_experimental-0.14.0/haystack_experimental/components/agents/human_in_the_loop/breakpoint.py +63 -0
- haystack_experimental-0.14.0/haystack_experimental/components/agents/human_in_the_loop/dataclasses.py +72 -0
- haystack_experimental-0.14.0/haystack_experimental/components/agents/human_in_the_loop/errors.py +28 -0
- haystack_experimental-0.14.0/haystack_experimental/components/agents/human_in_the_loop/policies.py +78 -0
- haystack_experimental-0.14.0/haystack_experimental/components/agents/human_in_the_loop/strategies.py +455 -0
- haystack_experimental-0.14.0/haystack_experimental/components/agents/human_in_the_loop/types.py +89 -0
- haystack_experimental-0.14.0/haystack_experimental/components/agents/human_in_the_loop/user_interfaces.py +209 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/preprocessors/embedding_based_document_splitter.py +18 -6
- haystack_experimental-0.14.0/haystack_experimental/components/preprocessors/md_header_level_inferrer.py +146 -0
- haystack_experimental-0.14.0/haystack_experimental/components/summarizers/__init__.py +7 -0
- haystack_experimental-0.14.0/haystack_experimental/components/summarizers/llm_summarizer.py +317 -0
- haystack_experimental-0.14.0/haystack_experimental/core/pipeline/breakpoint.py +174 -0
- haystack_experimental-0.14.0/haystack_experimental/dataclasses/__init__.py +3 -0
- haystack_experimental-0.14.0/haystack_experimental/dataclasses/breakpoints.py +53 -0
- haystack_experimental-0.14.0/haystack_experimental/super_components/__init__.py +3 -0
- haystack_experimental-0.14.0/haystack_experimental/utils/__init__.py +3 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/pyproject.toml +5 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/.gitignore +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/LICENSE +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/LICENSE-MIT.txt +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/chat_message_stores/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/chat_message_stores/in_memory.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/chat_message_stores/types.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/embedders/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/embedders/types/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/embedders/types/protocol.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/generators/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/generators/chat/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/generators/chat/openai.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/preprocessors/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/query/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/query/query_expander.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/retrievers/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/retrievers/chat_message_retriever.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/retrievers/multi_query_embedding_retriever.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/retrievers/multi_query_text_retriever.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/retrievers/types/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/retrievers/types/protocol.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/writers/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/components/writers/chat_message_writer.py +0 -0
- {haystack_experimental-0.13.0/haystack_experimental/super_components → haystack_experimental-0.14.0/haystack_experimental/core}/__init__.py +0 -0
- {haystack_experimental-0.13.0/haystack_experimental/utils → haystack_experimental-0.14.0/haystack_experimental/core/pipeline}/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/super_components/indexers/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/super_components/indexers/sentence_transformers_document_indexer.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/utils/hallucination_risk_calculator/__init__.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/utils/hallucination_risk_calculator/core_math.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/utils/hallucination_risk_calculator/dataclasses.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/utils/hallucination_risk_calculator/openai_planner.py +0 -0
- {haystack_experimental-0.13.0 → haystack_experimental-0.14.0}/haystack_experimental/utils/hallucination_risk_calculator/skeletonization.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: haystack-experimental
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.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
|
|
@@ -25,6 +25,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
25
25
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
26
26
|
Requires-Python: >=3.9
|
|
27
27
|
Requires-Dist: haystack-ai
|
|
28
|
+
Requires-Dist: rich
|
|
28
29
|
Description-Content-Type: text/markdown
|
|
29
30
|
|
|
30
31
|
[](https://pypi.org/project/haystack-experimental)
|
|
@@ -70,16 +71,19 @@ that includes it. Once it reaches the end of its lifespan, the experiment will b
|
|
|
70
71
|
|
|
71
72
|
### Active experiments
|
|
72
73
|
|
|
73
|
-
| Name
|
|
74
|
-
|
|
75
|
-
| [`InMemoryChatMessageStore`][1]
|
|
76
|
-
| [`ChatMessageRetriever`][2]
|
|
77
|
-
| [`ChatMessageWriter`][3]
|
|
78
|
-
| [`QueryExpander`][5]
|
|
79
|
-
| [`EmbeddingBasedDocumentSplitter`][8]
|
|
80
|
-
| [`MultiQueryEmbeddingRetriever`][
|
|
81
|
-
| [`MultiQueryTextRetriever`][
|
|
82
|
-
| [`OpenAIChatGenerator`][9]
|
|
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] |
|
|
83
87
|
|
|
84
88
|
[1]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/chat_message_stores/in_memory.py
|
|
85
89
|
[2]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/retrievers/chat_message_retriever.py
|
|
@@ -90,11 +94,22 @@ that includes it. Once it reaches the end of its lifespan, the experiment will b
|
|
|
90
94
|
[7]: https://github.com/deepset-ai/haystack-experimental/discussions/356
|
|
91
95
|
[8]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/preprocessors/embedding_based_document_splitter.py
|
|
92
96
|
[9]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/generators/chat/openai.py
|
|
93
|
-
[10]: https://github.com/deepset-ai/haystack-experimental/discussions/
|
|
94
|
-
[11]: https://github.com/deepset-ai/haystack-experimental/discussions
|
|
95
|
-
[12]: https://github.com/deepset-ai/haystack-experimental/discussions
|
|
97
|
+
[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
|
|
96
100
|
[13]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/retrievers/multi_query_embedding_retriever.py
|
|
97
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
|
|
103
|
+
[16]: https://github.com/deepset-ai/haystack-experimental/discussions/376
|
|
104
|
+
[17]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/agent.py
|
|
105
|
+
[18]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/human_in_the_loop/policies.py
|
|
106
|
+
[19]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/human_in_the_loop/user_interfaces.py
|
|
107
|
+
[20]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/human_in_the_loop/strategies.py
|
|
108
|
+
[21]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/human_in_the_loop/dataclasses.py
|
|
109
|
+
[22]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/human_in_the_loop/errors.py
|
|
110
|
+
[23]: https://github.com/deepset-ai/haystack-experimental/discussions/XXX
|
|
111
|
+
[24]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/sumarizers/llm_summarizer.py
|
|
112
|
+
[25]: https://github.com/deepset-ai/haystack-experimental/discussions/XXX
|
|
98
113
|
|
|
99
114
|
### Adopted experiments
|
|
100
115
|
| Name | Type | Final release |
|
|
@@ -41,16 +41,19 @@ that includes it. Once it reaches the end of its lifespan, the experiment will b
|
|
|
41
41
|
|
|
42
42
|
### Active experiments
|
|
43
43
|
|
|
44
|
-
| Name
|
|
45
|
-
|
|
46
|
-
| [`InMemoryChatMessageStore`][1]
|
|
47
|
-
| [`ChatMessageRetriever`][2]
|
|
48
|
-
| [`ChatMessageWriter`][3]
|
|
49
|
-
| [`QueryExpander`][5]
|
|
50
|
-
| [`EmbeddingBasedDocumentSplitter`][8]
|
|
51
|
-
| [`MultiQueryEmbeddingRetriever`][
|
|
52
|
-
| [`MultiQueryTextRetriever`][
|
|
53
|
-
| [`OpenAIChatGenerator`][9]
|
|
44
|
+
| Name | Type | Expected End Date | Dependencies | Cookbook | Discussion |
|
|
45
|
+
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|-------------------|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|
|
|
46
|
+
| [`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] |
|
|
47
|
+
| [`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] |
|
|
48
|
+
| [`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] |
|
|
49
|
+
| [`QueryExpander`][5] | Query Expansion Component | October 2025 | None | None | [Discuss][6] |
|
|
50
|
+
| [`EmbeddingBasedDocumentSplitter`][8] | EmbeddingBasedDocumentSplitter | August 2025 | None | None | [Discuss][7] |
|
|
51
|
+
| [`MultiQueryEmbeddingRetriever`][13] | MultiQueryEmbeddingRetriever | November 2025 | None | None | [Discuss][11] |
|
|
52
|
+
| [`MultiQueryTextRetriever`][14] | MultiQueryTextRetriever | November 2025 | None | None | [Discuss][12] |
|
|
53
|
+
| [`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] |
|
|
54
|
+
| [`MarkdownHeaderLevelInferrer`][15] | Preprocessor | January 2025 | None | None | [Discuss][16] |
|
|
55
|
+
| [`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] |
|
|
56
|
+
| [`LLMSummarizer`][24] | Document Summarizer | January 2025 | None | None | [Discuss][25] |
|
|
54
57
|
|
|
55
58
|
[1]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/chat_message_stores/in_memory.py
|
|
56
59
|
[2]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/retrievers/chat_message_retriever.py
|
|
@@ -61,11 +64,22 @@ that includes it. Once it reaches the end of its lifespan, the experiment will b
|
|
|
61
64
|
[7]: https://github.com/deepset-ai/haystack-experimental/discussions/356
|
|
62
65
|
[8]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/preprocessors/embedding_based_document_splitter.py
|
|
63
66
|
[9]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/generators/chat/openai.py
|
|
64
|
-
[10]: https://github.com/deepset-ai/haystack-experimental/discussions/
|
|
65
|
-
[11]: https://github.com/deepset-ai/haystack-experimental/discussions
|
|
66
|
-
[12]: https://github.com/deepset-ai/haystack-experimental/discussions
|
|
67
|
+
[10]: https://github.com/deepset-ai/haystack-experimental/discussions/361
|
|
68
|
+
[11]: https://github.com/deepset-ai/haystack-experimental/discussions/363
|
|
69
|
+
[12]: https://github.com/deepset-ai/haystack-experimental/discussions/364
|
|
67
70
|
[13]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/retrievers/multi_query_embedding_retriever.py
|
|
68
71
|
[14]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/retrievers/multi_query_text_retriever.py
|
|
72
|
+
[15]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/preprocessors/md_header_level_inferrer.py
|
|
73
|
+
[16]: https://github.com/deepset-ai/haystack-experimental/discussions/376
|
|
74
|
+
[17]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/agent.py
|
|
75
|
+
[18]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/human_in_the_loop/policies.py
|
|
76
|
+
[19]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/human_in_the_loop/user_interfaces.py
|
|
77
|
+
[20]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/human_in_the_loop/strategies.py
|
|
78
|
+
[21]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/human_in_the_loop/dataclasses.py
|
|
79
|
+
[22]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/agents/human_in_the_loop/errors.py
|
|
80
|
+
[23]: https://github.com/deepset-ai/haystack-experimental/discussions/XXX
|
|
81
|
+
[24]: https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/components/sumarizers/llm_summarizer.py
|
|
82
|
+
[25]: https://github.com/deepset-ai/haystack-experimental/discussions/XXX
|
|
69
83
|
|
|
70
84
|
### Adopted experiments
|
|
71
85
|
| Name | Type | Final release |
|
|
@@ -0,0 +1,16 @@
|
|
|
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 = {"agent": ["Agent"]}
|
|
11
|
+
|
|
12
|
+
if TYPE_CHECKING:
|
|
13
|
+
from .agent import Agent as Agent
|
|
14
|
+
|
|
15
|
+
else:
|
|
16
|
+
sys.modules[__name__] = LazyImporter(name=__name__, module_file=__file__, import_structure=_import_structure)
|