* add custom jinja filter handling to ConditionalRouter
* add release notes for custom filters
* align sede to existing patterns and update docstring example
* update sede unit test route condition to be more explicit
---------
Co-authored-by: Vladimir Blagojevic <dovlex@gmail.com>
* Update LocalWhisperTranscriber, add tests
* Final touches
* Update haystack/components/audio/whisper_local.py
Co-authored-by: David S. Batista <dsbatista@gmail.com>
* Fix prev commit
* Relax test for tiny model to work
---------
Co-authored-by: David S. Batista <dsbatista@gmail.com>
* check for None in SAS input
* Update releasenotes/notes/check-for-None-SAS-eval-0b982ccc1491ee83.yaml
---------
Co-authored-by: David S. Batista <dsbatista@gmail.com>
* Feat: Fix recursive conversion in JsonSchemaValidator (autofix generated by ClaudeOpus). Modify the behaviour to build the error template in a single user_message instead of two separate. Modify the behaviour to only include latest message instead of full history (very costly if long looping pipeline)
* Feat: Fix recursive conversion in JsonSchemaValidator (autofix generated by ClaudeOpus). Modify the behaviour to build the error template in a single user_message instead of two separate. Modify the behaviour to only include latest message instead of full history (very costly if long looping pipeline)
* reno
* fix test
* Verify provided message contains JSON object to begin with
* Minor detail
---------
Co-authored-by: Vladimir Blagojevic <dovlex@gmail.com>
* implement serialization for chat messages and add tests
* implement serialization for ChatPromptBuilder and test it
* add reno
* solve mypy type error
* solve mypy type error
* remove flattening parameter in to_dict
* simplify to jus non-flat metadata
* try to fix linting issue
* solve format issues
* update test for ChatPromptBuilder
* remove unused import
---------
Co-authored-by: David S. Batista <dsbatista@gmail.com>
* Some changes
Use tests file path
* Update tests
* Add another unit test
* Shorten _get_docx_metadata
* Update tests
* Remove try block
* Add a dataclass
* Add a to dict unit test
* Remove unused import
* Add release notes
* Update docstrings
* Use optional instead of pipe
* Update docstring
* Remove file
* ruff settings
enable ruff format and re-format outdated files
feat: `EvaluationRunResult` add parameter to specify columns to keep in the comparative `Dataframe` (#7879)
* adding param to explictily state which cols to keep
* adding param to explictily state which cols to keep
* adding param to explictily state which cols to keep
* updating tests
* adding release notes
* Update haystack/evaluation/eval_run_result.py
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
* Update releasenotes/notes/add-keep-columns-to-EvalRunResult-comparative-be3e15ce45de3e0b.yaml
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
* updating docstring
---------
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
add format-check
fail on format and linting failures
fix string formatting
reformat long lines
fix tests
fix typing
linter
pull from main
* reformat
* lint -> check
* lint -> check
* Fix formatting
* Isolate logic that finds next runnable component waiting for input
* Explain more lazy variadics
* Enhance logic following review suggestions
* Simplify code to use a single for
* Fix test
* adding param to explictily state which cols to keep
* adding param to explictily state which cols to keep
* adding param to explictily state which cols to keep
* updating tests
* adding release notes
* Update haystack/evaluation/eval_run_result.py
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
* Update releasenotes/notes/add-keep-columns-to-EvalRunResult-comparative-be3e15ce45de3e0b.yaml
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
* updating docstring
---------
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
* add cache step
* add test commit
* do not use shell to get deps
* force shell on all platforms
* use short-lived cache
* do not use a dedicated build step
* move license header check under format
* merge linting into test workflow
* test commit to trigger CI
* Revert "test commit to trigger CI"
This reverts commit ade5dcc6873cdd29ff5c5e8c9033b137cdef4d81.
* remove unused skipper
* Isolate logic that distributes Component outputs
* Handle variadic reset in correct place
* Move methods to PipelineBase
* Enhance variables and method names
* Add missing return type
* Update comment with correct variable name
* Add comment explaining conditional outputs
* Add variadic list assertion and enhance comment explaining the need of a list
* Rename to_remove_from_res to to_remove_from_component_result and enhance comment
* Split elif
* Enhance code to enqueue greedy variadic components
* Revert "Enhance code to enqueue greedy variadic components"
This reverts commit 052ceb889ec8ea100be6eab810cb06d5febea6fe.
* Enhance variadic greedy enqueue comment
* clean up default env and add reno script
* update contributions guidelines
* use test script
* format
* re-add missing dep
* remove black in favour of ruff