3174 Commits

Author SHA1 Message Date
Vladimir Blagojevic
3b172b0476
Clarify DynamicPromptBuilder Raison d’Être (#6549) 2023-12-14 14:53:00 +01:00
Massimiliano Pippi
bc45170f4e
chore: add boilerpy3 to the core dependencies (#6544)
* add boilerpy3 to the core dependencies

* remove boilerpy3 installation from test workflow

* fix pylint: import order and unused import

* fix import order

* add release note

---------

Co-authored-by: Julian Risch <julian.risch@deepset.ai>
2023-12-14 11:53:38 +01:00
Tuana Çelik
0ec2801c72
Fixing incorrect docstring (#6536) 2023-12-14 11:35:33 +01:00
ZanSara
d0c115fc9d
fix: make minor_version_release.yml to run on the v1.x branch (#6547)
* Fix minor_version_release.yml to run on the v1.x branch

* review
2023-12-14 11:34:18 +01:00
Massimiliano Pippi
923efd88b2
chore: add version label to PRs (#6548) 2023-12-14 11:28:00 +01:00
Massimiliano Pippi
8d9c3de37e
Remove 'preview' from the release notes template (#6543) 2023-12-14 09:59:48 +01:00
Massimiliano Pippi
9867dd188a
update labeler to latest version (#6541) 2023-12-13 21:21:29 +01:00
Massimiliano Pippi
a55024bee7
fix: do not dump pipeline graph into the debug payload (#6528) 2023-12-12 18:24:23 +01:00
Massimiliano Pippi
09abcc1d4c
allow connecting the same components multiple times (#6530) 2023-12-12 16:01:09 +01:00
Julian Risch
25a6eaae05
feat!: Rename ExtractiveReader's confidence_threshold to score_threshold (#6532)
* rename to score_threshold

* Update haystack/components/readers/extractive.py

Co-authored-by: Stefano Fiorucci <44616784+anakin87@users.noreply.github.com>

---------

Co-authored-by: Stefano Fiorucci <44616784+anakin87@users.noreply.github.com>
2023-12-12 15:12:28 +01:00
Silvano Cerza
82fe80ce68
Remove old Pylint plugin (#6527) 2023-12-12 09:59:01 +01:00
Silvano Cerza
18dbce25fc
refacotr: Refactor answer dataclasses (#6523)
* Refactor answer dataclasses

* Add release notes

* Fix tests

* Fix end to end tests

* Enhance ExtractiveReader
2023-12-11 18:50:49 +01:00
dependabot[bot]
820d9c37d5
chore(deps): bump actions/stale from 8 to 9 (#6509)
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v8...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  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>
2023-12-11 08:35:40 +01:00
Vladimir Blagojevic
628e8aa3d4
feat: Improve getting started examples (#6510)
* Improve rag and indexing pipelines

* Update examples

* Simplify user interface and code, improve embedder model

* Improve default vals for embedder

* resolve typing

* resolve typing 2

* Fix unit test

---------

Co-authored-by: Timo Möller <timo.moeller@deepset.ai>
2023-12-09 19:01:13 +01:00
bogdankostic
728383a149
fix: Make TransformersSimilarityRanker run with single document list (#6503)
* Make `TransformersSimilarityRanker` run with single document list

* Add release note

* Remove unused import in test
2023-12-08 16:18:46 +01:00
Ashwin Mathur
2767cd2f01
Fix usage examples (#6507) 2023-12-07 14:01:32 +01:00
dependabot[bot]
51b49b838c
chore(deps): bump actions/setup-python from 4 to 5 (#6498)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  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>
2023-12-06 22:33:05 +01:00
Silvano Cerza
5f06e93573
Bump version to v2.0.0-beta.2 (#6502) v2.0.0-beta.2 2023-12-06 18:30:23 +01:00
Julian Risch
dbe2319cae
feat: Add posthog api key for telemetry (#6500) 2023-12-06 18:18:16 +01:00
Massimiliano Pippi
38bd367b74
fix pydoc config (#6496) 2023-12-06 15:02:07 +01:00
Stefano Fiorucci
b520c77f67
ci: reintroduce readme_sync workflow (#6490)
* reintroduce readme_sync

* minimal workflow

* fix wrong id

* remove reference to branches other than main
2023-12-06 13:11:25 +01:00
Bijay Gurung
c5342d1110
fix: Prevent invalid answer from being selected in ExtractiveReader (#6460)
* Fix invalid answer being selected issue on ExtractiveReader

* Rename variables to not shadow arguments
2023-12-06 09:49:02 +01:00
Rohan Janjua
05a30c24aa
ci: add the Haystack 1.x benchmarks back (#6454)
Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>
2023-12-05 16:01:42 +01:00
Massimiliano Pippi
1b247ca395
clean up tests (#6488) 2023-12-05 15:49:10 +01:00
Mayank Jobanputra
8c0ff25832
docs update for HuggingFaceLocalGenerator (#6485) 2023-12-05 09:12:41 +01:00
Massimiliano Pippi
b25e5e8db8
bump version (#6484) v2.0.0-beta.1 2023-12-04 16:12:15 +01:00
Vladimir Blagojevic
008a322023
feat: Add Indexing Pipeline (#6424)
* Add build_indexing_pipeline utils function

* Pylint fixes

* Move into another package to avoid circular deps

* Revert change

* Revert haystack/utils/__init__.py change

* Add example

* Use DocumentStore type, remove typing checks
2023-12-04 16:08:53 +01:00
Tuana Çelik
8267058c05
Update README.md (#6483) 2023-12-04 15:36:07 +01:00
ZanSara
a38f871dbd
feat: Add RAG pipeline (#6461)
* add rag pipeline

* Update examples/getting_started/rag.py

Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>

---------

Co-authored-by: Vladimir Blagojevic <dovlex@gmail.com>
Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>
2023-12-04 15:25:29 +01:00
Stefano Fiorucci
4912f7cb58
refactor!: improve the deserialization logic for components that use a Document Store (#6466)
* improve deserialization

* rm ds decorator

* improve tests

* fix pylint

* rm decorator from module init

* rm decorator

* rm decorator from factory

* fix tests

* release note

* rm print
2023-12-04 15:17:28 +01:00
Daria Fokina
3fedd9f67f
docs: add Data Classes API ref and cleanup (#6482)
* Data Classes and cleanup

* Update pydoc-markdown.sh

* Update converter.yml
2023-12-04 14:03:28 +01:00
Tuana Çelik
9959176935
Update README.md (#6480)
* Update README.md

Adding switch to stable branch

* Update README.md
2023-12-04 13:24:42 +01:00
Massimiliano Pippi
19dec9238f
fix smoke test (#6481) 2023-12-04 13:23:58 +01:00
Massimiliano Pippi
1887dac667
ci: push Docker image for 2.x (#6479)
* cleanup

* use a smaller runner

* main branch
2023-12-04 12:52:58 +01:00
Massimiliano Pippi
bf542ebfb0
downgrade unnecessary runner instance (#6477) 2023-12-04 11:39:36 +01:00
Stefano Fiorucci
7e6af82f2f
rm preview README (#6476) 2023-12-04 11:21:15 +01:00
Massimiliano Pippi
a86807b834
move Cohere generator into dedicated integration (#6475) 2023-12-04 11:16:12 +01:00
Massimiliano Pippi
09f898aff8
Update README.md 2023-12-01 09:34:42 +01:00
Massimiliano Pippi
e32f35d2b5
Update README.md 2023-11-30 16:28:49 +01:00
Tuana Çelik
61fa6eb01c
Update README.md (#6462) 2023-11-30 16:01:37 +01:00
Massimiliano Pippi
d4c275f8b7
Update README.md
Fix the badges for 2.x
2023-11-30 15:49:27 +01:00
Daria Fokina
675302981b
docs: add CohereGenerator and ConditionalRouter (#6455) 2023-11-30 14:59:14 +01:00
Julian Risch
19ff30217c
docs: Add RAG pipeline example (#6446) 2023-11-30 14:38:15 +01:00
Vladimir Blagojevic
b9bf83bbef
feat: Allow flat dictionary Pipeline.run() inputs (#6413)
* Initial implementation, release note, update API and unit test
---------

Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>
Co-authored-by: Silvano Cerza <silvanocerza@gmail.com>
2023-11-30 14:37:55 +01:00
Sebastian Husch Lee
5353706cf6
Fix: torch type hints put into quotes (#6453)
* Fix type hints for torch

* More type hint fixes
2023-11-30 10:51:12 +01:00
Massimiliano Pippi
7c05f37a53
remove unit marker (#6450) 2023-11-29 19:24:25 +01:00
Massimiliano Pippi
84da80c1f3
chore: make core tests layout consistent (#6449)
* move unit tests up

* move tests up one dir, make them unit
2023-11-29 18:58:44 +01:00
Silvano Cerza
5240672088
Rename document_store/protocols.py to document_store/protocol.py (#6448) 2023-11-29 16:41:15 +01:00
Silvano Cerza
73e5f6f023 Bump version to v2.0.0-alpha.3 v2.0.0-alpha.3 2023-11-29 10:58:10 +01:00
Silvano Cerza
3f7cea19ab
Reworked Document Store testing comparison to be more versatile (#6442) 2023-11-29 10:57:28 +01:00