Mohit Lal
280719339c
bug: run parameter "ranking_mode" does not override init param in meta field ranker ( #7375 )
...
* bug: run parameter ranking_mode does not override init param in metafield ranker
* Added a release note
* Used pytest.approx for comparing floating point numbers in unit test
2024-03-19 07:53:26 +01:00
dependabot[bot]
d4df9c09b2
chore(deps): bump tj-actions/changed-files from 42 to 43 ( #7360 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 42 to 43.
- [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/v42...v43 )
---
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-03-18 13:35:20 +01:00
Massimiliano Pippi
3fcb4561eb
Unschedule benchmarks ( #7376 )
2024-03-18 09:49:48 +01:00
Sebastian Husch Lee
85c1e39fab
feat: Add Zero Shot Transformers Text Router ( #7018 )
...
* Starting to add TransformersTextRouter
* First pass at a TextRouter based off of the zero shot classification model on HuggingFace
* Fix pylint
* Remove unneeded imports
* Update documentation example
* Update error message strings
* Starting to add unit tests
* Release notes
* Fix pylint
* Add tests for to dict and from dict
* Update patches in tests to be correct with respect to changes
* Doc strings and fixes
* Adding more tests
* Change name
* Adding to init
* Use Haystack logger
* Beef up docstrings
* Make example runnable
* Rename to huggingface_pipeline_kwargs
* Fix example
2024-03-15 13:56:07 +01:00
Stefano Fiorucci
e793c718b6
chore: Upgrade transformers to 4.38.2 in test environment ( #7363 )
...
* upgrade transformers to 4.38.2 in test environment
* add pyproject to files to check in test workflow
2024-03-15 10:06:28 +01:00
Stefano Fiorucci
abda78c122
unpin OpenAI and fix problem with mock ( #7364 )
2024-03-15 08:32:28 +01:00
Vladimir Blagojevic
2aae8472e7
feat: Add trust_remote_code init param to SentenceTransformer embedders ( #7356 )
...
* Add trust_remote_code init param to SentenceTransformer embedders
* Add release note
* Go with no kwargs solution
* Update haystack/components/embedders/sentence_transformers_document_embedder.py
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
* Pydoc fix
---------
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
2024-03-14 11:14:04 +01:00
Vladimir Blagojevic
5b4f9f1cda
Pin openai to latest working version ( #7359 )
2024-03-14 10:47:28 +01:00
Stefano Fiorucci
4b814b2b28
remove references to test_requirements ( #7351 )
2024-03-13 17:29:32 +01:00
Silvano Cerza
de4fca4526
ci: Skip collection of test_json_schema.py
to fix CI failures ( #7353 )
...
* Skip collection of test_json_schema.py to fix CI failures
* mock chroma instance
* revert
---------
Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>
2024-03-13 16:59:26 +01:00
Silvano Cerza
2a83eccf99
Update docs renderer ( #7349 )
2024-03-13 12:30:13 +01:00
Massimiliano Pippi
762e8c8e86
extend stalebot to community triage ( #7352 )
2024-03-13 12:08:39 +01:00
Silvano Cerza
5aee378baf
chore: Remove all examples and point to cookbooks repo ( #7350 )
...
* Remove all examples and point to cookbooks repo
* Remove workflow testing examples
2024-03-12 18:04:39 +01:00
Daniel Barker
e4f37e9460
Fixed pipeline import statement ( #7348 )
2024-03-12 15:12:35 +01:00
Massimiliano Pippi
2bb17429dd
add conda badge ( #7347 )
2024-03-12 12:55:04 +01:00
Yudhajit Sinha
41dbbdb3fc
feat: Add support for matching mime types using regex ( #7303 )
...
* feat: Add support for matching mime types using regex
---------
Co-authored-by: Silvano Cerza <silvanocerza@gmail.com>
2024-03-11 14:58:08 +01:00
Ashwin Mathur
38b3472bb2
feat: Add SentenceTransformersDiversityRanker
( #7095 )
...
* Add Diversity Ranker
* Update tests
* Add separate suffix, prefix params for query and documents; allow empty query
* Update docstrings
* Make changes based on review
* Add additional tests
* Add test for warm up
* Update release notes
---------
Co-authored-by: Sebastian Husch Lee <sjrl@users.noreply.github.com>
2024-03-11 13:14:59 +01:00
Bilge Yücel
6239b60814
Update README.md ( #7344 )
...
Change image link and add alt text
2024-03-11 15:05:35 +03:00
Stefano Fiorucci
f8b9f71b7a
make weight defined in run to be used even if 0 ( #7343 )
2024-03-11 12:52:55 +01:00
Massimiliano Pippi
ad2366cbe9
link using absolute URI ( #7342 )
2024-03-11 11:49:59 +01:00
Massimiliano Pippi
0beb6e1162
chore: update banner ( #7340 )
...
* update banner
* try relative
2024-03-11 11:08:58 +01:00
Ashwin Mathur
8d7a58347d
fix: HuggingFaceTEITextEmbedder
returning embedding of incorrect shape when used with Docker endpoint ( #7319 )
...
* Fix HuggingFaceTEITextEmbedder
* Update haystack/components/embedders/hugging_face_tei_text_embedder.py
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
* Improve imports; Add additional tests
---------
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
2024-03-07 16:23:57 +01:00
Silvano Cerza
95837ab6b5
Fix readme sync workflow ( #7332 )
2024-03-07 16:04:54 +01:00
Tobias Wochinger
a3a21947a4
docs: disable class def rendering ( #7329 )
2024-03-07 15:54:16 +01:00
Silvano Cerza
bbdc52e8ba
Fix readme_sync.yml workflow to handle unstable 2.x versions ( #7330 )
2024-03-07 15:13:36 +01:00
Silvano Cerza
d5336e9f72
Fix pypi_release.yml workflow to skip rc0 versions ( #7327 )
2024-03-07 12:09:10 +01:00
Stefano Fiorucci
3dbde84a28
test: monkeypatch some env vars in Predefined Pipelines tests ( #7321 )
...
* ci: skip some tests if the OPENAI API key is not set
* better idea: monkeypatch the env var
2024-03-07 08:52:25 +01:00
Silvano Cerza
ede768a517
Fix VERSION.txt
2024-03-06 17:47:12 +01:00
Silvano Cerza
82cd3176ea
Update unstable to 2.1.0-rc0
2024-03-06 17:30:14 +01:00
Julian Risch
cfc5253651
docs: documentation search -> document search in Readme ( #7320 )
...
* docs: documentation search -> document search in Readme
* add links for "get started" and "what is haystack"
2024-03-06 17:26:46 +01:00
Massimiliano Pippi
13804293b1
docs: Prepare the readme for 2.0.0 ( #7314 )
...
* draft
* make the warning less prominent
* more compact
* better tip
* rewrite features
* downgrade to IMPORTANT
* avoid broken links to start
2024-03-06 16:51:04 +01:00
Madeesh Kannan
0db95fb7bd
docs: haystack.utils
docfixes ( #7318 )
2024-03-06 16:11:17 +01:00
Daria Fokina
2c7d1ead06
docs: edit audio docstrings order ( #7317 )
...
* audio docstrings order
* trigger CI
---------
Co-authored-by: anakin87 <stefanofiorucci@gmail.com>
2024-03-06 15:05:55 +01:00
Vladimir Blagojevic
c3caadb234
Add haystack.utils API docs ( #7311 )
2024-03-05 14:17:52 +01:00
Tobias Wochinger
23c65c250f
chore: migrate ExtractiveReader
to use secret management ( #7309 )
...
* chore: migrate `ExtractiveReader` to use secret management
* docs: add release notes
2024-03-05 13:04:53 +01:00
Julian Risch
50ad1fa2c4
fix: Remove pipeline serialization from telemetry code ( #7289 )
...
* remove pipeline serialization from telemetry
* simplify getting component instance from pipeline
* reno
* add unit test with non-serializable component
* generate qualified class names
* added pipeline.walk()
* fix imports
* sort Iterator import
* remove bfs
* add test for pipeline.walk() with cycles
* Apply suggestions from code review
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
* raise TypeError if telemetry_data is no dict
* Update haystack/telemetry/_telemetry.py
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
---------
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
2024-03-05 12:45:53 +01:00
Tobias Wochinger
655d4a1a8d
test: test for missing dependencies ( #7278 )
...
* tests: import test for missing libraries
* build: add missing dependencies
* refactor: use glob instead of tree walk
* test: extract constants + more documentation
2024-03-05 12:14:10 +01:00
Stefano Fiorucci
38a80b0235
fix: MetaFieldRanker
- use weight
if passed in the run
method ( #7305 )
...
* fix: - use if passed in the method
* reno
2024-03-05 12:13:56 +01:00
Julian Risch
b86490bb5a
docs: Update ExtractiveReader
docstrings ( #7308 )
...
* format reader docstrings and update usage example
* add output to usage example
2024-03-05 11:52:56 +01:00
Julian Risch
c1c0cbfde4
docs: Update docs of MetaFieldRanker, TransformersSimilarityRanker ( #7301 )
...
* docs: Update docstrings of MetaFieldRanker and TransformersSimilarityRanker
* add warm_up() call to usage example
* Apply suggestions from code review
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
* show result of usage example
---------
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
2024-03-05 10:20:18 +01:00
Julian Risch
f0fb71da6f
docs: Add LostInTheMiddleRanker to API docs ( #7302 )
2024-03-05 09:49:46 +01:00
dependabot[bot]
312ba9ebf0
chore(deps): bump dorny/paths-filter from 3.0.1 to 3.0.2 ( #7300 )
...
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/dorny/paths-filter/releases )
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md )
- [Commits](ebc4d7e9eb...de90cc6fb3
)
---
updated-dependencies:
- dependency-name: dorny/paths-filter
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-03-04 17:08:17 +01:00
Julian Risch
15373de114
chore: Update ruff pre-commit version ( #7293 )
2024-03-04 16:02:35 +01:00
Julian Risch
9a0e2e58fd
docs: Added LostInTheMiddleRanker usage example and updated docstrings ( #7294 )
...
* docs: Added LostInTheMiddleRanker usage example
* remove to_dict test
* explain LITM in more detail
2024-03-04 15:42:51 +01:00
Vladimir Blagojevic
0e7c41be5e
feat: Improve OpenAPIServiceToFunctions signature ( #7257 )
...
* Convert OpenAPIServiceToFunctions run interface
---------
Co-authored-by: Silvano Cerza <3314350+silvanocerza@users.noreply.github.com>
2024-03-04 14:38:58 +01:00
Stefano Fiorucci
721691c036
replace flaky with pytest-rerunfailures ( #7298 )
2024-03-04 12:26:40 +01:00
David S. Batista
f49dbdc5a7
docs: last fixes on non-chat generators ( #7287 )
...
* last fixes on non-chat generators
2024-03-04 11:36:05 +01:00
Stefano Fiorucci
727794cb70
pin pytest ( #7295 )
2024-03-04 10:14:39 +01:00
Silvano Cerza
72d776c390
fix: Fix run order of variadic greedy components in Pipeline.run() ( #7258 )
...
* Fix run order of variadic greedy components in Pipeline.run()
* Add release notes
2024-03-01 17:39:13 +01:00
Vladimir Blagojevic
3077a08c60
docs: Update docstrings for haystack.utils
( #7269 )
...
* Update docstrings for haystack.utils
* Update haystack/utils/requests_utils.py
Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>
* Update haystack/utils/requests_utils.py
Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>
* Update haystack/utils/requests_utils.py
Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>
---------
Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>
2024-03-01 17:25:12 +01:00