4379 Commits

Author SHA1 Message Date
Stefano Fiorucci
cba9f60be1
chore: remove unused images (#9935) 2025-10-24 14:51:32 +02:00
Haystack Bot
54930a4f23
Sync Core Integrations API reference (meta_llama) on Docusaurus (#9938)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-10-24 14:50:25 +02:00
Haystack Bot
6a7e7754cc
Sync Haystack API reference on Docusaurus (#9936)
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com>
2025-10-24 14:50:06 +02:00
Stefano Fiorucci
35fb6c6f01
feat: improve AnswerBuilder to support showing RAG references (#9933)
* draft

* improve

* refactor

* improvs + usage ex

* relnote

* pipeline test fix
2025-10-24 12:47:16 +02:00
Haystack Bot
ce260b14c6
Sync Core Integrations API reference (langfuse) on Docusaurus (#9934)
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com>
2025-10-24 11:58:14 +02:00
Daria Fokina
90894491cf
docs: add v2.20 docs pages and plugin for relative links (#9926)
* Update documentation and remove unused assets. Enhanced the 'agents' and 'components' sections with clearer descriptions and examples. Removed obsolete images and updated links for better navigation. Adjusted formatting for consistency across various documentation pages.

* remove dependency

* address comments

* delete more empty pages

* broken link

* unduplicate headings

* alphabetical components nav
2025-10-24 09:52:57 +02:00
Haystack Bot
02b849b0cd
docs: sync Core Integrations API reference (togetherai) on Docusaurus (#9930)
* Sync Core Integrations API reference (togetherai) on Docusaurus

* remove old integration: together_ai

---------

Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com>
Co-authored-by: anakin87 <stefanofiorucci@gmail.com>
2025-10-23 17:21:08 +02:00
Haystack Bot
f4e22b19e5
Sync Core Integrations API reference (llama_cpp) on Docusaurus (#9929)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-10-23 13:18:24 +02:00
Haystack Bot
3ae296ad8b
Sync Core Integrations API reference (openrouter) on Docusaurus (#9928)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-10-23 11:38:50 +02:00
Haystack Bot
6035b804a8
Sync Core Integrations API reference (nvidia) on Docusaurus (#9927)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-10-23 11:38:33 +02:00
Stefano Fiorucci
f2146b430f
docs: foundations for Haystack experimental API (#9925) 2025-10-23 10:53:32 +02:00
Haystack Bot
f998a6d094
Sync Core Integrations API reference (mistral) on Docusaurus (#9924)
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com>
2025-10-23 10:52:29 +02:00
Haystack Bot
f5552a9fc2
Sync Core Integrations API reference (qdrant) on Docusaurus (#9920)
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com>
2025-10-22 15:26:31 +00:00
Stefano Fiorucci
1bbb37052e
last manual update for integrations API references (#9919) 2025-10-22 17:23:03 +02:00
Haystack Bot
368a8c93ea
Sync Core Integrations API reference (qdrant) on Docusaurus (#9918)
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com>
2025-10-22 16:52:17 +02:00
Stefano Fiorucci
1c075e779a
docs: integrations api with regenerated headings (#9913)
* docs: add regenerated integrations API reference

* updates
2025-10-21 18:10:10 +02:00
Stefano Fiorucci
4df86a5a94
docs: add integrations API reference (#9912) 2025-10-21 16:37:52 +02:00
Daria Fokina
342e472fbe
active navbar item (#9910) 2025-10-21 16:37:19 +02:00
Haystack Bot
946b857633
Sync Haystack API reference on Docusaurus (#9911)
Co-authored-by: sjrl <10526848+sjrl@users.noreply.github.com>
2025-10-21 12:45:03 +02:00
Charles-Meldhine Madi Mnemoi
47c3a2bc88
feat: SentenceWindowRetriever now supports run_async (#9895)
* feat: `SentenceWindowRetriever` now supports `run_async`

* refactor: Reduce duplicated code

* refactor: Remove unused import

* docs: Add release notes

* style: ignore type error from missing `run_async` in `DocumentStore` protocol

* docs: Precise the ignored mypy error and add a comment explaining why

* style: update mypy ignore type for filter_documents_async in SentenceWindowRetriever

---------

Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
2025-10-21 11:41:43 +02:00
Stefano Fiorucci
fe57b6d215
docs: manually create 2.19 docs version (#9909) 2025-10-21 10:46:51 +02:00
Daria Fokina
ff7f90307f
docs: plugin for navigating between API References versions (#9905)
* navigate between references

* Update index.js
2025-10-20 16:35:04 +02:00
Stefano Fiorucci
705b66bbfd
docs: start adding integrations API reference - Chroma (#9904) 2025-10-20 14:57:17 +02:00
Haystack Bot
3cb03d44fe
Sync Haystack API reference on Docusaurus (#9902)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-10-20 12:19:32 +02:00
Haystack Bot
4a86e565e9
Update unstable version to 2.20.0-rc0 (#9903)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-20 12:19:23 +02:00
Vladimir Blagojevic
9bc59c3806
Add Tools warm_up (#9856)
* Tools warmup initial

* Fix lint

* Improve pydocs for warm_up

* Further improve pydocs for warm_up

* No need to warm_up tools in Agent as they are warmed up by ToolInvoker

* Simplify Toolset __add__ logic

* Simplify _ToolsetWrapper

* Add unit tests

* ToolInvoker warm_up

* Improve Tool pydoc

* Resurrect serde_utils.py

* Update tests

* Call ToolInvoker warm_up in agent warm_up

* Lint

* Move warm_up tests to ToolInvoker

* Update tests

* Remove tests

* Pydoc nit

* PR feedback

* ToolInvoker's warm_up is idempotent

* Add reno note

* Update releasenotes/notes/tools-warm-up-support-e16cc043fed3653f.yaml

Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>

* Make ComponentTool warm_up idempotent

* Update warm_up_tools to use ToolsType

* Linting

* Add warm up test for mixed list of Tool/Toolset instances

---------

Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
v2.20.0-rc0
2025-10-20 12:11:34 +02:00
Sebastian Husch Lee
4cb4854057
don't name something test if it's not a test (#9900) 2025-10-20 09:23:43 +00:00
Haystack Bot
1de94413c4
Sync Haystack API reference on Docusaurus (#9898)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-10-20 09:53:59 +02:00
Vladimir Blagojevic
8098e9c6f6
feat: Update tools param to Optional[Union[list[Union[Tool, Toolset]], Toolset]] (#9886)
* Update tools param to Optional[Union[list[Union[Tool, Toolset]], Toolset]]

* Exclude tools from schema generation

* Different approach

* Lint

* Use ToolsType

* Fixes

* Reno note

* Update haystack/tools/utils.py

Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>

* Update haystack/tools/serde_utils.py

Co-authored-by: tstadel <60758086+tstadel@users.noreply.github.com>

* Revert "Update haystack/tools/utils.py"

This reverts commit ebdec9115d46276b57a7459e566fd06c388ba51b.

* PR feedback

* Improve serde tests

* Update releasenotes/notes/mixed-tools-toolsets-support-d944c5770e2e6e7b.yaml

Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>

* Pydoc polish

* Update FallbackChatGenerator for new ToolsType

---------

Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
Co-authored-by: tstadel <60758086+tstadel@users.noreply.github.com>
2025-10-20 09:26:22 +02:00
Sebastian Husch Lee
e03add64e5
Add type hint (#9899) 2025-10-20 09:15:44 +02:00
Daria Fokina
b1239a8954
Update regex_text_extractor.py (#9894) 2025-10-20 08:12:39 +02:00
Stefano Fiorucci
54ea7adfda
docs: remove docs/api directories (#9893) 2025-10-17 17:16:47 +02:00
Haystack Bot
cc4f024afd
Sync Haystack API reference on Docusaurus (#9892)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-10-17 15:51:07 +02:00
Vladimir Blagojevic
90edcdacee
feat: Add FallbackChatGenerator (#9859)
* Add FallbackChatGenerator

* Update licence files

* Use typing.Optional/Union for Python 3.9 compat

* Use the right logger

* Lint fix

* PR review

* Rewrite release note

* Add FallbackChatGenerator to docs

* Update haystack/components/generators/chat/fallback.py

Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>

* Rename generator -> chat_generators

* Lint

* Rename generators -> chat_generators in meta, docs, tests

* Update haystack/components/generators/chat/fallback.py

Co-authored-by: Amna Mubashar <amnahkhan.ak@gmail.com>

* Update pydocs

* Minor pydocs fix

---------

Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
Co-authored-by: Amna Mubashar <amnahkhan.ak@gmail.com>
2025-10-17 15:46:31 +02:00
Haystack Bot
a43c47b635
Sync Haystack API reference on Docusaurus (#9891)
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com>
2025-10-17 12:27:35 +02:00
Stefano Fiorucci
bbaae9eac5
docs: make Docusaurus sync open PRs (#9889) 2025-10-17 11:53:38 +02:00
Sebastian Husch Lee
8188e5ad86
feat: Update BreakpointException to include the pipeline snapshot and where it is saved (#9888)
* Add snapshot and the full file path it was saved to breakpoint exception

* Add checks to test and simplify test

* Make both tests unit tests

* remove unused import

* update reno

* Add docstrings

* Updated reno

* Simplify test

* Uupdate test

* Fix mypy
2025-10-17 11:11:09 +02:00
Stefano Fiorucci
dc1d72228a
docs: use Haystack Bot in Docusaurus sync (#9884) 2025-10-15 17:38:43 +02:00
Stefano Fiorucci
91814326f0
docs: point Docusaurus sync to Haystack repo (#9881)
* docs: point Docusaurus to Haystack repo

* fix
2025-10-15 16:26:27 +02:00
Stefano Fiorucci
95523e5f1f
ci: temporarily disable Test Python snippets in docs workflow (#9882)
* ci: temporarily disable Test Python snippets in docs workflow

* fix
2025-10-15 15:57:50 +02:00
Daria Fokina
fc0cff3b11
docs: start versioning API reference folder (#9878)
* sync-docs-reference-versions

* correct version numbers

* version label

* unstable-version
2025-10-15 15:14:28 +02:00
David S. Batista
cfa5d27614
feat: adding RegextTextExtractor component from experimental (#9879)
* initial import of component

* adding release notes

* adding docs to docusaurus
2025-10-15 13:55:22 +02:00
Sebastian Husch Lee
fe60c765d9
refactor: Refactor _save_pipeline_snapshot and _create_pipeline_snapshot to handle more exceptions (#9871)
* Refactor saving pipeline snapshot to handle the try-except inside and to cover more cases (e.g. try-excepts around our serialization logic)

* Add reno

* Fix

* Adding tests

* More tests

* small change

* fix test

* update docstrings
2025-10-15 09:30:26 +00:00
Sebastian Husch Lee
0cd297adc8
docs: Update docstrings of OpenAI Generators to use max_completion_tokens (#9874)
* Update docstrings to use max_completion_tokens instead of deprecated max_tokens

* Change more instances of max_tokens

* update tests
2025-10-15 09:26:59 +00:00
Stefano Fiorucci
d77a853b49
chore: remove unused files (#9876) 2025-10-15 09:48:37 +02:00
dependabot[bot]
6e5c8cdbc0
chore(deps): bump actions/setup-node from 5 to 6 (#9875)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  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-10-14 16:28:32 +02:00
Sebastian Husch Lee
512dd86d97
feat: Add serialization and deserialization of Enum type when creating a PipelineSnaphsot (#9869)
* refactor tests

* Test refactoring and add failing test for enum

* Remove redundant method

* Slight refactoring

* refactoring

* simplification of _deserialize_value_with_schema and _deserialize_value

* Add some more TODOs

* Add support for enum serialization and deserialization

* types

* Add reno

* fix linting

* PR comments

* Add warning message

* dev comment
2025-10-14 10:28:19 +00:00
Sebastian Husch Lee
18b6482e2e
feat: Add ability to pass breakpoint and snapshot to Agent at runtime (#9867)
* Add ability to pass breakpoint and snapshot to agent at runtime

* Update releasenotes/notes/pass-agent-breakpoint-and-snapshot-5ac32800899d0bab.yaml

Co-authored-by: David S. Batista <dsbatista@gmail.com>

---------

Co-authored-by: David S. Batista <dsbatista@gmail.com>
2025-10-13 11:07:12 +00:00
dependabot[bot]
a03bca3dac
chore(deps): bump actions/setup-python from 5 to 6 (#9866)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  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-10-10 16:18:44 +02:00
dependabot[bot]
ce7cc24bc8
chore(deps): bump actions/setup-node from 4 to 5 (#9865)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  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-10-10 16:14:52 +02:00