https://github.com/deepset-ai/haystack-experimental

🧪 Experimental features for Haystack

https://github.com/deepset-ai/haystack-experimental

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • â—‹
    CITATION.cff file
  • ✓
    codemeta.json file
    Found codemeta.json file
  • ✓
    .zenodo.json file
    Found .zenodo.json file
  • â—‹
    DOI references
  • â—‹
    Academic publication links
  • â—‹
    Committers with academic emails
  • â—‹
    Institutional organization owner
  • â—‹
    JOSS paper metadata
  • â—‹
    Scientific vocabulary similarity
    Low similarity (9.7%) to scientific vocabulary

Keywords from Contributors

agent transformers generative-ai information-retrieval orchestration question-answering semantic-search summarization gemini gpt-4
Last synced: 6 months ago · JSON representation

Repository

🧪 Experimental features for Haystack

Basic Info
  • Host: GitHub
  • Owner: deepset-ai
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Homepage: https://haystack.deepset.ai
  • Size: 7.49 MB
Statistics
  • Stars: 52
  • Watchers: 7
  • Forks: 21
  • Open Issues: 9
  • Releases: 16
Created almost 2 years ago · Last pushed 7 months ago
Metadata Files
Readme License Codeowners Security

README.md

PyPI - Version PyPI - Python Version Tests Project release on PyPi Hatch project Checked with mypy

Haystack experimental package

The haystack-experimental package provides Haystack users with access to experimental features without immediately committing to their official release. The main goal is to gather user feedback and iterate on new features quickly.

Installation

For simplicity, every release of haystack-experimental will ship all the available experiments at that time. To install the latest experimental features, run:

sh $ pip install -U haystack-experimental

Install from the main branch to try the newest features: sh pip install git+https://github.com/deepset-ai/haystack-experimental.git@main

[!IMPORTANT] The latest version of the experimental package is only tested against the latest version of Haystack. Compatibility with older versions of Haystack is not guaranteed.

Experiments lifecycle

Each experimental feature has a default lifespan of 3 months starting from the date of the first non-pre-release build that includes it. Once it reaches the end of its lifespan, the experiment will be either:

  • Merged into Haystack core and published in the next minor release, or
  • Released as a Core Integration, or
  • Dropped.

Experiments catalog

Active experiments

| Name | Type | Expected End Date | Dependencies | Cookbook | Discussion | |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|-------------------|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------| | InMemoryChatMessageStore | Memory Store | December 2024 | None | Open In Colab | Discuss | | ChatMessageRetriever | Memory Component | December 2024 | None | Open In Colab | Discuss | | ChatMessageWriter | Memory Component | December 2024 | None | Open In Colab | Discuss | | QueryExpander | Query Expansion Component | October 2025 | None | None | Discuss | | EmbeddingBasedDocumentSplitter | EmbeddingBasedDocumentSplitter | August 2025 | None | None | Discuss | | MultiQueryEmbeddingRetriever | MultiQueryEmbeddingRetriever | November 2025 | None | None | Discuss | | MultiQueryTextRetriever | MultiQueryTextRetriever | November 2025 | None | None | Discuss | | OpenAIChatGenerator | Chat Generator Component | November 2025 | None | Open In Colab | Discuss | | MarkdownHeaderLevelInferrer | Preprocessor | January 2025 | None | None | Discuss | | Agent; Confirmation Policies; ConfirmationUIs; ConfirmationStrategies; ConfirmationUIResult and ToolExecutionDecision HITLBreakpointException | Human in the Loop | December 2025 | rich | None | Discuss | | RegexTextExtractor | Text Extractor Component | January 2025 | None | None | Discuss |

Adopted experiments

| Name | Type | Final release | |----------------------------------------------------------------------------------------|------------------------------------------|---------------| | ChatMessage refactoring; Tool class; tool support in ChatGenerators; ToolInvoker | Tool Calling support | 0.4.0 | | AsyncPipeline; Pipeline bug fixes and refactoring | AsyncPipeline execution | 0.7.0 | | LLMMetadataExtractor | Metadata extraction with LLM | 0.7.0 | | Auto-Merging Retriever & HierarchicalDocumentSplitter | Document Splitting & Retrieval Technique | 0.8.0 | | Agent | Simplify Agent development | 0.8.0 | | SuperComponent | Simplify Pipeline development | 0.8.0 | | Pipeline | Pipeline breakpoints for debugging | 0.12.0 | | ImageContent; Image Converters; multimodal support in OpenAIChatGenerator and AmazonBedrockChatGenerator; ChatPromptBuilder refactoring; SentenceTransformersDocumentImageEmbedder; LLMDocumentContentExtractor; new Routers | Multimodality | 0.12.0 |

Discontinued experiments

| Name | Type | Final release | Cookbook | |------------------------|----------------------------|---------------|------------------------------------------------------------------------------------------------------------------------------------------| | OpenAIFunctionCaller | Function Calling Component | 0.3.0 | None | | OpenAPITool | OpenAPITool component | 0.3.0 | Notebook | | EvaluationHarness | Evaluation orchestrator | 0.7.0 | None |

Usage

Experimental new features can be imported like any other Haystack integration package:

```python from haystack.dataclasses import ChatMessage from haystack_experimental.components.generators import FoobarGenerator

c = FoobarGenerator() c.run([ChatMessage.from_user("What's an experiment? Be brief.")]) ```

Experiments can also override existing Haystack features. For example, users can opt into an experimental type of Pipeline by just changing the usual import:

```python

from haystack import Pipeline

from haystack_experimental import Pipeline

pipe = Pipeline()

...

pipe.run(...) ```

Some experimental features come with example notebooks that can be found in the Haystack Cookbook.

Documentation

Documentation for haystack-experimental can be found here.

Implementation

Experiments should replicate the namespace of the core package. For example, a new generator:

```python

in haystack_experimental/components/generators/foobar.py

from haystack import component

@component class FoobarGenerator: ...

```

When the experiment overrides an existing feature, the new symbol should be created at the same path in the experimental package. This new symbol will override the original in haystack-ai: for classes, with a subclass and for bare functions, with a wrapper. For example:

```python

in haystackexperiment/src/haystackexperiment/core/pipeline/pipeline.py

from haystack.core.pipeline import Pipeline as HaystackPipeline

class Pipeline(HaystackPipeline): # Any new experimental method that doesn't exist in the original class def run_async(self, inputs) -> Dict[str, Dict[str, Any]]: ...

# Existing methods with breaking changes to their signature, like adding a new mandatory param
def to_dict(self, new_param: str) -> Dict[str, Any]:
    # do something with the new parameter
    print(new_param)
    # call the original method
    return super().to_dict()

```

Contributing

Direct contributions to haystack-experimental are not expected, but Haystack maintainers might ask contributors to move pull requests that target the core repository to this repository.

Telemetry

As with the Haystack core package, we rely on anonymous usage statistics to determine the impact and usefulness of the experimental features. For more information on what we collect and how we use the data, as well as instructions to opt-out, please refer to our documentation.

Owner

  • Name: deepset
  • Login: deepset-ai
  • Kind: organization
  • Email: hello@deepset.ai
  • Location: Berlin, Germany

Building enterprise search systems powered by latest NLP & open-source.

GitHub Events

Total
  • Fork event: 15
  • Create event: 164
  • Commit comment event: 1
  • Release event: 9
  • Issues event: 69
  • Watch event: 29
  • Delete event: 133
  • Member event: 3
  • Issue comment event: 347
  • Push event: 899
  • Pull request review comment event: 549
  • Pull request review event: 677
  • Pull request event: 310
Last Year
  • Fork event: 15
  • Create event: 164
  • Commit comment event: 1
  • Release event: 9
  • Issues event: 69
  • Watch event: 29
  • Delete event: 133
  • Member event: 3
  • Issue comment event: 347
  • Push event: 899
  • Pull request review comment event: 549
  • Pull request review event: 677
  • Pull request event: 310

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 199
  • Total Committers: 15
  • Avg Commits per committer: 13.267
  • Development Distribution Score (DDS): 0.789
Past Year
  • Commits: 196
  • Committers: 15
  • Avg Commits per committer: 13.067
  • Development Distribution Score (DDS): 0.786
Top Committers
Name Email Commits
Stefano Fiorucci s****i@g****m 42
Madeesh Kannan s****e 29
David S. Batista d****a@g****m 29
Vladimir Blagojevic d****x@g****m 23
Julian Risch j****h@d****i 17
Sebastian Husch Lee s****l 15
mathislucka m****a@g****m 13
Tuana Çelik t****k@d****i 7
Daria Fokina d****a@d****i 6
Massimiliano Pippi m****i@g****m 5
Bilge Yücel b****l@d****i 5
Amna Mubashar a****k@g****m 3
dependabot[bot] 4****] 2
Silvano Cerza 3****a 2
Emil 1****o 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 45
  • Total pull requests: 508
  • Average time to close issues: 14 days
  • Average time to close pull requests: 4 days
  • Total issue authors: 14
  • Total pull request authors: 19
  • Average comments per issue: 0.58
  • Average comments per pull request: 1.53
  • Merged pull requests: 394
  • Bot issues: 0
  • Bot pull requests: 8
Past Year
  • Issues: 39
  • Pull requests: 317
  • Average time to close issues: 15 days
  • Average time to close pull requests: 3 days
  • Issue authors: 11
  • Pull request authors: 17
  • Average comments per issue: 0.46
  • Average comments per pull request: 1.57
  • Merged pull requests: 236
  • Bot issues: 0
  • Bot pull requests: 6
Top Authors
Issue Authors
  • sjrl (11)
  • julian-risch (11)
  • anakin87 (5)
  • davidsbatista (3)
  • Emil-io (3)
  • Amnah199 (3)
  • shadeMe (2)
  • LastRemote (1)
  • mathislucka (1)
  • TuanaCelik (1)
  • danliszka1 (1)
  • alex-stoica (1)
  • Chance-Obondo (1)
  • RocketRider (1)
Pull Request Authors
  • davidsbatista (96)
  • anakin87 (92)
  • shadeMe (72)
  • vblagoje (60)
  • sjrl (40)
  • julian-risch (37)
  • mathislucka (26)
  • Amnah199 (20)
  • TuanaCelik (17)
  • dfokina (10)
  • bilgeyucel (9)
  • dependabot[bot] (8)
  • masci (4)
  • silvanocerza (4)
  • tstadel (4)
Top Labels
Issue Labels
P1 (13) P2 (9) bug (3) P3 (2) documentation (2)
Pull Request Labels
dependencies (7) documentation (2) github_actions (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 602,732 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 16
  • Total maintainers: 1
pypi.org: haystack-experimental

Experimental components and features for the Haystack LLM framework.

  • Versions: 16
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 602,732 Last month
Rankings
Dependent packages count: 10.9%
Average: 36.2%
Dependent repos count: 61.5%
Maintainers (1)
Last synced: 7 months ago

Dependencies

pyproject.toml pypi
  • haystack-ai *