deepset-ai / haystack

AI orchestration framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data. With advanced retrieval methods, it's best suited for building RAG, question answering, semantic search or conversational agent chatbots.
https://haystack.deepset.ai
Apache License 2.0
17.72k stars 1.92k forks source link

feat: Deprecate `@component` decorator `is_greedy` argument #8400

Closed silvanocerza closed 1 month ago

silvanocerza commented 1 month ago

Related Issues

Proposed Changes:

Deprecate @component decorator is_greedy argument and add a new GreedyVariadic input type in its place.

How did you test it?

I ran unit tests locally.

Notes for the reviewer

N/A

Checklist

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 11029679990

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Files with Coverage Reduction New Missed Lines %
core/pipeline/base.py 3 92.23%
core/component/component.py 4 97.58%
<!-- Total: 7 -->
Totals Coverage Status
Change from base Build 11015717691: -0.02%
Covered Lines: 7341
Relevant Lines: 8126

💛 - Coveralls