Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Use Haystack pipelines as tools via Tool.from_pipeline #133

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

vblagoje
Copy link
Member

Preview only to open discussion and coordinate further, DO NOT MERGE

Implements usage of Haystack pipelines as a Tool.
See test/components/tools/test_tool_pipeline.py for an exhaustive test suite

@coveralls
Copy link

coveralls commented Nov 14, 2024

Pull Request Test Coverage Report for Build 11858539863

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.3%) to 89.207%

Files with Coverage Reduction New Missed Lines %
dataclasses/tool.py 2 98.43%
Totals Coverage Status
Change from base Build 11847747482: -0.3%
Covered Lines: 2058
Relevant Lines: 2307

💛 - Coveralls

@anakin87
Copy link
Member

A short notebook with classic Haystack pipelines used as tools could help to understand how this is meant to be used.

@vblagoje
Copy link
Member Author

Here is the notebook motivating this important tooling step forward. Note that it is WIP as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants