Sriniketh J
6198f0cba9
feat: adding support for torch xpu device ( #9470 )
...
* feat: add support for torch xpu device support
* test: xpu based tests ci/cd
* test: add xpu code device support
---------
Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
Co-authored-by: David S. Batista <dsbatista@gmail.com>
2025-06-17 14:15:19 +02:00
Stefano Fiorucci
12665ade14
chore: simplify Haystack Hatch scripts ( #9491 )
...
* try unifying hatch scripts
* formatting
* simplify
* improve contributing guidelines
* fmt-check
2025-06-06 10:43:02 +02:00
Stefano Fiorucci
d8487c4d8d
chore: make mypy run with --check-untyped-defs; fix some errors ( #9447 )
...
* chore: make mypy run with --check-untyped-defs; fix some errors
* small fixes
* use HfPipeline
* fix license error
2025-05-27 07:35:25 +00:00
Stefano Fiorucci
17432f710d
feat: introduce SentenceTransformersSimilarityRanker ( #9415 )
...
* new component + tests
* soft deprecation of TransformersSimilarityRanker + reno
* add comp files to slow workflow
* Apply suggestions from code review
Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
* self.model -> self._cross_encoder
* recommend installing sentence-transformers>=4.1.0
---------
Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
2025-05-21 10:52:46 +02:00
Stefano Fiorucci
6ad23f822f
ci: add timeout-minutes to relevant CI jobs ( #9409 )
2025-05-20 09:23:42 +02:00
dependabot[bot]
3e28ec207a
chore(deps): bump fossas/fossa-action from 1.6.0 to 1.7.0 ( #9392 )
...
Bumps [fossas/fossa-action](https://github.com/fossas/fossa-action ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/fossas/fossa-action/releases )
- [Commits](https://github.com/fossas/fossa-action/compare/v1.6.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: fossas/fossa-action
dependency-version: 1.7.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-16 11:22:30 +02:00
Stefano Fiorucci
f8eead3adc
ci: disable caching on Windows tests ( #9318 )
...
* ci: try skipping cache on Windows
* trigger
* remove trigger
---------
Co-authored-by: David S. Batista <dsbatista@gmail.com>
2025-04-29 18:21:34 +02:00
Stefano Fiorucci
38c39a49de
test: review integration tests ( #9306 )
...
* AzureOCR: convert integration test to unit test and simplify
* clean up HuggingFaceAPITextEmbedder
* clean up LinkContentFetcher
* simplify HuggingFaceLocalGenerator
* clean up OpenAIGenerator
* OpenAIChatGenerator
* SentenceTransformersDiversityRanker
* TransformersSimilarityRanker
* ChatMessage: rm outdated tests
* fail fast false
* typo
2025-04-25 09:07:57 +02:00
Stefano Fiorucci
e3d4e21237
test: mark more tests as slow ( #9296 )
...
* test: mark tests as slow
* alphabetical order; install xet
* revert pyproject
* Trigger Build
* simplify tests as suggested
* add comment to workflow
2025-04-24 10:25:13 +02:00
Stefano Fiorucci
9ae7da8df3
test: workflow for slow/unstable integration tests ( #9267 )
...
* workflow for slow integration tests
* try changing skipper
* Trigger Build
* better names
* fix
* mv tika to slow
* try skipping slow workflow
* retry paths-ignore
* remove skipper
* Revert "remove skipper"
This reverts commit 302ed2f07f36b33fa61fde0843b5590d79b98d74.
* better skipper
* retry
* Revert "retry"
This reverts commit fe5dff68f496645cc45292d74fcd8d043e868392.
* try using one workflow
* trigger
* try to see if it fails
* cosmetic changes
* improvements
* try matrix
* retry
* fix
* clean up
* simplify datadog monitoring and trigger
* send event to datadog for nightly failures
* tests should run if: manual trigger, scheduled, PR has label, release branch, or relevant files changed
* clarify slow marker
* improve comments
* labels
2025-04-23 10:36:44 +02:00
Stefano Fiorucci
4279d7e149
ci: stop rerunning tests on PRs ready for review ( #9254 )
2025-04-17 10:10:45 +02:00
Stefano Fiorucci
e5dc4ef94d
ci: stop caching Hatch python environment on Ubuntu ( #9249 )
...
* try setting hatch variables
* debug steps
* stop caching on ubuntu
* remove debug steps
* cache should work for mac and wind
* bring back cache and log verbose; temp skip win and mac
* try
* stop caching Hatch python environment for Ubuntu
* remove trigger
2025-04-16 18:05:12 +02:00
Stefano Fiorucci
f478d9145f
fix: make mypy run + some type fixes on Agent ( #9250 )
...
* make lint work + some mypy fixes on Agent
* Simple solution
* Remove unused import
---------
Co-authored-by: Sebastian Husch Lee <sjrl423@gmail.com>
2025-04-16 17:00:51 +02:00
Stefano Fiorucci
36bbd27e8d
ci: update hatch to 1.14.1 ( #9245 )
...
* try updating hatch to 1.14.1
* trigger tests
* better trigger
* remove trigger
2025-04-16 11:25:57 +02:00
Stefano Fiorucci
407984f4d5
chore: update label name for stalebot ( #9228 )
2025-04-14 09:26:57 +02:00
Stefano Fiorucci
8bf41a8510
test: create e2e environment; stop testing spacy in unit tests ( #9212 )
...
* ci: create e2e environment; stop testing spacy in unit tests
* try fix
* fix yml
* exclude test python files
* self-referential environment
* do not use self-referential environment
2025-04-11 10:28:53 +00:00
Stefano Fiorucci
08fa1db98a
ci: fix lint job ( #9217 )
...
* fix lint job
* remove trigger
2025-04-11 11:01:03 +02:00
Stefano Fiorucci
77898762a6
ci: make lint workflow check pyproject.toml ( #9199 )
...
* ci: make lint workflow rune when pyproject is modified
* remove trigger
2025-04-09 12:05:24 +02:00
Stefano Fiorucci
cf97ba2a68
ci: review required jobs ( #9124 )
...
* ci: review required jobs
* retrigger
* rm trigger
2025-03-27 18:12:27 +01:00
Stefano Fiorucci
06512a8696
chore: skip typing_extensions license check ( #9120 )
...
* chore: skip typing_extensions license check
* unrelated: remove unused imports to fix linting
2025-03-27 11:59:58 +00:00
Stefano Fiorucci
593ca87645
ci: run mypy across the codebase ( #9103 )
...
* ci: run mypy across the codebase
* trigger
* rm trigger
* actually rm trigger
---------
Co-authored-by: David S. Batista <dsbatista@gmail.com>
2025-03-25 12:14:40 +01:00
dependabot[bot]
3e435439d9
build(deps): bump fossas/fossa-action from 1.5.0 to 1.6.0 ( #9089 )
...
Bumps [fossas/fossa-action](https://github.com/fossas/fossa-action ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/fossas/fossa-action/releases )
- [Commits](https://github.com/fossas/fossa-action/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: fossas/fossa-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-21 18:02:57 +01:00
dependabot[bot]
75a9441e84
build(deps): bump tj-actions/changed-files from 45 to 46 ( #9049 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 45 to 46.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v45...v46 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-18 11:10:10 +01:00
Stefano Fiorucci
40798bc4f2
ci: improve release notes format checking ( #8984 )
...
* chore: fix invalid release note
* try improving relnote linting
* add relnotes path
* fix bad release note
* improve reno config
2025-03-05 19:07:46 +01:00
Stefano Fiorucci
3339097e99
ci: refactor job to check imports ( #8892 )
...
* refactor
* Trigger CI
* run tests if this file changes
* show failure
* revert
* rm duplicate subdir and explain in comment
2025-02-21 11:37:41 +01:00
Julian Risch
92c87805b8
Revert "build(deps): bump docker/bake-action from 5 to 6 ( #8685 )"
...
This reverts commit 687f7593c705271dd4225ded9f1cdf6e00efca3f.
2025-02-20 10:20:06 +01:00
dependabot[bot]
687f7593c7
build(deps): bump docker/bake-action from 5 to 6 ( #8685 )
...
* build(deps): bump docker/bake-action from 5 to 6
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 5 to 6.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Remove checkout step
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julian Risch <julian.risch@deepset.ai>
2025-02-20 09:37:44 +01:00
dependabot[bot]
f1679f1dca
build(deps): bump fossas/fossa-action from 1.4.0 to 1.5.0 ( #8771 )
...
Bumps [fossas/fossa-action](https://github.com/fossas/fossa-action ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/fossas/fossa-action/releases )
- [Commits](https://github.com/fossas/fossa-action/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: fossas/fossa-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-04 15:01:54 +01:00
Michele Pangrazzi
c192488bf6
Named entity extractor private models ( #8658 )
...
* add 'token' support to NamedEntityExtractor to enable using private models on HF backend
* fix existing error message format
* add release note
* add HF_API_TOKEN to e2e workflow
* add informative comment
* Updated to_dict / from_dict to handle 'token' correctly ; Added tests
* Fix lint
* Revert unwanted change
2024-12-20 11:15:55 +01:00
dependabot[bot]
c78eb9be4e
build(deps): bump readmeio/rdme from 8 to 9 ( #8615 )
...
Bumps [readmeio/rdme](https://github.com/readmeio/rdme ) from 8 to 9.
- [Release notes](https://github.com/readmeio/rdme/releases )
- [Changelog](https://github.com/readmeio/rdme/blob/next/CHANGELOG.md )
- [Commits](https://github.com/readmeio/rdme/compare/v8...v9 )
---
updated-dependencies:
- dependency-name: readmeio/rdme
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-10 13:22:08 +01:00
Stefano Fiorucci
de7099e560
ci: add job to check imports ( #8594 )
...
* try checking imports
* clarify error message
* better fmt
* do not show complete list of successfully imported packages
* refinements
* relnote
* add missing forward references
* better function name
* linting
* fix linting
* Update .github/utils/check_imports.py
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
---------
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
2024-11-29 14:00:59 +00:00
Silvano Cerza
3e30b1db7e
Revert afdeaf5a6 and 8271b2d80
2024-10-30 15:41:30 +01:00
Silvano Cerza
8271b2d80b
Fix readme_sync.yml unstable version check
2024-10-30 15:34:53 +01:00
Silvano Cerza
afdeaf5a62
Fix readme_sync.yml ( #8506 )
2024-10-30 15:27:40 +01:00
Stefano Fiorucci
c7b898994e
build: unpin numpy + use Python 3.9 in CI ( #8492 )
...
* try unpinning numpy
* try python 3.9
* release note
2024-10-28 12:15:17 +01:00
Ikko Eltociear Ashimine
939698bb18
chore: update readme_sync.yml ( #8462 )
...
minor fix
2024-10-18 10:03:13 +02:00
Stefano Fiorucci
7788bfe558
ci: upgrade Hatch to 1.13.0 and adopt uv as installer ( #8313 )
...
* try uv
* upgrade hatch
* rm unnecessary specification
* release note
2024-10-17 10:32:14 +02:00
Stefano Fiorucci
c682a59f5e
ci: reintroduce macos-latest in tests ( #8405 )
...
* try testing with macos-latest
* trigger CI
* remove trigger
2024-09-25 16:43:03 +02:00
Silvano Cerza
b6cde2414b
Remove unused benchmark.yml workflow ( #8380 )
2024-09-19 18:34:14 +02:00
Silvano Cerza
145dfce3aa
ci: Slightly rework docs release process ( #8363 )
...
* Slightly rework docs release process
* Apply suggestions from code review
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
---------
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
2024-09-16 09:28:40 +00:00
Silvano Cerza
907ee04c58
Remove version choice for workflow dispatch in minor_version_release.yml ( #8362 )
2024-09-12 16:41:00 +02:00
Silvano Cerza
7cedf7e894
Remove unused Slack notification on PyPi release ( #8351 )
2024-09-10 15:46:41 +02:00
Silvano Cerza
a34869da3f
ci: Fix docstrings linting workflow never running ( #8327 )
...
* Fix docstrings linting workflow never running
* Trigger file
* Remove trigger file
* Remove unnecessary trigger
2024-09-04 17:57:38 +02:00
Silvano Cerza
314a6396d3
Add step to verify release notes files are correctly formatted ( #8323 )
...
* Add step to verify release notes files are correctly formatted
* Fake release note
* Trigger file
* Fix step not running when it should
* Fix release notes error
* Remove trigger files
2024-09-04 17:37:32 +02:00
dependabot[bot]
83e9542a62
chore(deps): bump fossas/fossa-action from 1.3.3 to 1.4.0 ( #8167 )
...
Bumps [fossas/fossa-action](https://github.com/fossas/fossa-action ) from 1.3.3 to 1.4.0.
- [Release notes](https://github.com/fossas/fossa-action/releases )
- [Commits](https://github.com/fossas/fossa-action/compare/v1.3.3...v1.4.0 )
---
updated-dependencies:
- dependency-name: fossas/fossa-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-23 17:55:33 +02:00
dependabot[bot]
0a1a64cb0c
build(deps): bump tj-actions/changed-files from 44 to 45 ( #8269 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 44 to 45.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v44...v45 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-21 17:00:17 +02:00
Silvano Cerza
a86bf963a0
ci: Fix workflows_linting.yml never running ( #7941 )
...
* Fix workflows_linting.yml never running
* Add setup-go step
* Ignore SC2102 rule
2024-06-28 11:01:52 +02:00
dependabot[bot]
8583d8c6a6
chore(deps): bump actions/add-to-project from 1.0.1 to 1.0.2 ( #7926 )
...
Bumps [actions/add-to-project](https://github.com/actions/add-to-project ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/actions/add-to-project/releases )
- [Commits](https://github.com/actions/add-to-project/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: actions/add-to-project
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 16:27:43 +02:00
Massimiliano Pippi
3a03fce71c
ci: Add code formatting checks ( #7882 )
...
* 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
2024-06-18 15:52:46 +00:00
dependabot[bot]
a277af45a5
chore(deps): bump docker/bake-action from 4 to 5 ( #7881 )
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 4 to 5.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 17:05:00 +02:00