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
Silvano Cerza
247716f008
docs: Update joiners docstrings and configs ( #7280 )
...
* Update joiners docstrings
* Update joiners docs config
2024-03-01 17:08:57 +01:00
Vladimir Blagojevic
9ab5c95c19
docs: Multiplexer - review and normalize docstrings for component.others ( #7276 )
...
* Multiplexer - review and normalize docstrings
* Update PR - Stefano
* simplify language
* re-generation
---------
Co-authored-by: Daria Fokina <daria.fokina@deepset.ai>
2024-03-01 16:44:39 +01:00
Julian Risch
d17f180dd2
docs: Add warmup() call to HuggingFaceLocalGenerator usage example ( #7282 )
...
Co-authored-by: David S. Batista <dsbatista@gmail.com>
2024-03-01 15:09:01 +01:00
Julian Risch
6325015367
docs: Update docstrings for haystack.components.retrievers ( #7252 )
2024-03-01 15:08:36 +01:00
Massimiliano Pippi
34dac5f86f
Update test_pipeline.py ( #7284 )
2024-03-01 14:20:15 +01:00
Vladimir Blagojevic
7ffb21d1b8
docs: Update docstrings for haystack.components.connectors ( #7267 )
...
* OpenAPIServiceConnector review and normalize docstrings
* PR feedback Stefano
2024-03-01 12:57:04 +01:00
Madeesh Kannan
b554e4cd49
docs: Update docstrings and API doc config for haystack.components.extractors ( #7251 )
...
* docs: Update docstrings and API doc config for `haystack.components.extractors`
* Review comments
2024-03-01 12:45:26 +01:00
Julian Risch
a57ed6dafe
docs: Update docstrings for haystack.core ( #7263 )
...
* core docstrings
* remove reference to marshaller from docstrings
2024-03-01 12:44:06 +01:00
Stefano Fiorucci
4eced4422a
fix output types in WebSearch components ( #7274 )
2024-03-01 12:42:48 +01:00
Massimiliano Pippi
221bfb012c
fix: Update pyproject.toml ( #7281 )
...
* Update pyproject.toml
* make tests run on templates changes
---------
Co-authored-by: anakin87 <stefanofiorucci@gmail.com>
2024-03-01 12:40:24 +01:00
Massimiliano Pippi
b011bfcc9c
chore: update the INDEXING and RAG pipeline templates ( #7272 )
...
* update the index pipeline
* amend relnote
* update the RAG template
2024-03-01 11:55:44 +01:00
Tobias Wochinger
9fe2aae758
ci: add ruff to CI + bring config up to date ( #7266 )
...
* ci: add ruff to CI
* chore: fix ruff issues
* ci: fix ruff deprecation warnings
* ci: add ruff as dependency
2024-03-01 11:08:51 +01:00
Silvano Cerza
d6597952a2
fix: Update Component protocol to fix some type checking issues ( #7270 )
...
* Update Component protocol to fix some type checking issues
* Add release notes
* Fix logline in test
* Fix run type definition
2024-03-01 10:56:47 +01:00
Silvano Cerza
408be735e5
Update embedders docstrings ( #7268 )
2024-02-29 17:59:42 +01:00
Silvano Cerza
4065a755c1
Update converters docstrings ( #7250 )
2024-02-29 16:18:32 +01:00
Tobias Wochinger
69d5438d6e
tests: make 3.12 compatible ( #7265 )
2024-02-29 16:11:14 +01:00
Massimiliano Pippi
232544472f
feat: Add new predefined template: chat with website ( #7259 )
...
* add new predefined template: chat with website
* fix raw prompts
* Fix raw prompt
* fix typos in tempalte
2024-02-29 15:55:53 +01:00
Tobias Wochinger
ee4d47952e
chore: run ruff with fix during precommit hook ( #7264 )
2024-02-29 15:14:10 +01:00
Tobias Wochinger
fe0ac5c4a2
chore: enforce kwarg logging ( #7207 )
...
* chore: add logger which eases logging of extras
* chore: start migrating to key value
* fix: import fixes
* tests: temporarily comment out breaking test
* refactor: move to kwarg based logging
* style: fix import order
* chore: implement self-review comments
* test: drop failing test
* chore: fix more import orders
* docs: add changelog
* tests: fix broken tests
* chore: fix getting the frames
* chore: add comment
* chore: cleanup
* chore: adapt remaining `%s` usages
2024-02-29 14:31:20 +01:00
Massimiliano Pippi
25a1a97be0
restore to_dict method ( #7261 )
2024-02-29 14:30:06 +01:00
Julian Risch
14191deefa
docs: Update docstrings for haystack.components.writers ( #7260 )
2024-02-29 14:09:37 +01:00
Massimiliano Pippi
e7809b6fea
feat: Add from_template class method to Pipeline ( #7240 )
...
* move templating code under the core package
* make from_predefined part of the Pipeline API
* add tests
* amend release notes
* import under haystack package
* Apply suggestions from code review
Co-authored-by: David S. Batista <dsbatista@gmail.com>
* from_predefined -> from_template
* remove template inheritance for more readability
---------
Co-authored-by: David S. Batista <dsbatista@gmail.com>
2024-02-29 12:23:32 +01:00
David S. Batista
4766efbf19
adding missing imports in __init__.py
2024-02-29 11:10:02 +01:00
Massimiliano Pippi
cf1e28431a
fix docstrings for the builder package ( #7248 )
...
* fix docstrings for the builder package
* remove dead test
* Apply suggestions from code review
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
* review feedback
* pylint
---------
Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
2024-02-28 18:22:29 +01:00
Massimiliano Pippi
890c613a2c
chore: adjust docstrings in the audio package ( #7246 )
...
* adjust docstrings in the audio package
* Apply suggestions from code review
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
* Update haystack/components/audio/whisper_remote.py
* black complaining for apparently no reason
---------
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
2024-02-28 18:22:03 +01:00