max_retries: if not set is read from the OPENAI_MAX_RETRIES
env variable or set to 5.
timeout: if not set is read from the OPENAI_TIMEOUT
env variable or set to 30.
Signed-off-by: Nitanshu Vashistha <nitanshu.vzard@gmail.com>
* initial implementation
* add support for meta and add ChatMessage tests
* explictly cast types for mypy and update reno
* leave inputs unchanged avoiding side effects
---------
Co-authored-by: Julian Risch <julian.risch@deepset.ai>
* 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>