Haystack Bot
ae6d56abca
Sync Haystack API reference on Docusaurus ( #10444 )
...
Co-authored-by: julian-risch <4181769+julian-risch@users.noreply.github.com >
2026-01-23 18:31:41 +01:00
Julian Risch
a03b6fcbae
chore: Deprecate deserialize_document_store_in_init_params_inplace ( #10442 )
...
* add release note
* Apply suggestion from @anakin87
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com >
* mention 2.24 in release note
* mention version 2.24 in deprecation warning
---------
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com >
2026-01-23 16:35:20 +00:00
Julian Risch
5e789ecfb7
chore: Simplify to_dict, from_dict with default (de-)serialization of objects ( #10435 )
...
* simplify retriever serde for document stores
* adjust tests
* add release note
* simplify CacheChecker
* simplify doc writer deserialization
* remove test with invalid deserialized doc store
* handle the case where policy is not explicitly set
* test from_dict without policy
2026-01-23 14:08:48 +00:00
tstadel
5ba08a7039
enhancement: support flattened verbosity generation_kwarg for OpenAIResponsesChatGenerator ( #10436 )
2026-01-23 12:42:51 +01:00
Stefano Fiorucci
81a69f15d3
chore: update transformers test dependency ( #10438 )
2026-01-23 12:16:17 +01:00
Stefano Fiorucci
e8d76a791e
test: mock arrow.now to prevent flakiness in Jinja2 Time extension tests ( #10437 )
2026-01-23 12:13:33 +01:00
Stefano Fiorucci
e9232fee33
ci: pin pyrate-limiter<4 for docs search sync ( #10434 )
2026-01-23 11:06:12 +01:00
Julian Risch
4d5552032c
feat: Add default (de-)serialization for init parameter objects that define to_dict/from_dict ( #10421 )
...
* fix circular import error
* add release note
* add tests
* call to_dict/from_dict if available
* return type annotations
* simplify secret deserialization
* update release note
* simplify test with match
* clarify release note
* remove test with unexpected dict as init param
2026-01-23 09:12:22 +00:00
Stefano Fiorucci
e7eb354bb6
test: add additional unit tests for Jinja2 Chat Extension ( #10432 )
2026-01-23 09:41:06 +01:00
Stefano Fiorucci
38ad5112b9
chore: HuggingFaceLocalChatGenerator - check defensively before shutting down executor ( #10431 )
2026-01-22 17:39:23 +01:00
Haystack Bot
d7fe524b21
Sync Haystack API reference on Docusaurus ( #10430 )
...
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com >
2026-01-22 16:24:22 +01:00
Stefano Fiorucci
ecb30a7400
feat: support passing images in Tool results ( #10410 )
...
* wip: support images in tool results
* revert unneeded changes
* improve and test OpenAI responses message conversion
* improvements to tool, componenttool and pipelinetool
* test fixes
* better toolinvoker tests
* small fixes
* fix
* draft changes
* refinements
* simplify
* expande create_tool_from_function + docs
* fix + release note
2026-01-22 16:13:21 +01:00
Sebastian Husch Lee
ffb81be53f
chore: Part 2 type checking tests/core folder ( #10428 )
...
* type checking more of the test/core folder
* fixes
* more fixes
* Progress on better typing of some utils
* More progress and getting rid of casts
* got rid of cast
* updates
* Update test to trigger correct error message
2026-01-22 15:42:45 +01:00
Sebastian Husch Lee
b375063013
chore: Part 1 of adding type validation to tests - type checking test/core/pipeline/ folder ( #10409 )
...
* First phase of adding type validation to tests
* Fix
* Revert a change
* Try to fix typing issues
* Fix merge
* refix types
2026-01-22 12:29:22 +00:00
Stefano Fiorucci
875a901463
test: remove OpenAI flaky test ( #10427 )
2026-01-22 12:43:03 +01:00
Stefano Fiorucci
d6506edc11
test: refactor breakpoint integration tests ( #10422 )
...
* test: refactor breakpoint integration tests
* revert some changes
* improvements
* more
* rename folder
2026-01-22 09:31:42 +00:00
Julian Risch
7a331a7c29
chore: Simplify to_dict, from_dict with default (de-)serialization of ComponentDevice ( #10418 )
...
* drop to_dict and ComponentDevice.from_dict
* add release note
2026-01-22 09:29:33 +01:00
Haystack Bot
46089f82ca
docs: Sync Haystack API reference on Docusaurus ( #10425 )
...
Co-authored-by: sjrl <10526848+sjrl@users.noreply.github.com >
2026-01-22 08:28:26 +00:00
Sebastian Husch Lee
f9153d73b3
docs: Add some missing api docs ( #10423 )
...
* Add some missing api docs
* Remove utils
2026-01-22 08:25:33 +00:00
Sebastian Husch Lee
b26ca57e8a
feat: Migrate Human in the Loop for Agents from experimental ( #10403 )
...
* Initial commit bringing over human in the loop
* More updates
* Updates
* Add more tests
* Refactoring
* Fix tests and found bug
* Throw an error on an edge case and preserve previous behavior when using an LLM provider that doesn't provide tool call IDs
* Add reno
* fix small bug from merge
* Rever some comment changes
* Simplify from_dict for Agent
* fixed type errors
* Simplifying to the from_dict method for conf strat
* Expose the templates for reject and modify messages
* Fix test
* Refactoring
* Refactoring
* Leftover
* Add pydoc
2026-01-22 09:19:46 +01:00
Julian Risch
d2d6d1f671
refactor: avoid top-level package import when importing DeserializationError ( #10420 )
2026-01-21 16:48:40 +01:00
Julian Risch
2121e32ac4
feat: Add default (de-)serialization for ComponentDevice ( #10413 )
...
* handle ComponentDevice in default serialization
* add release note
* make component device check more robust
2026-01-21 14:12:56 +00:00
Haystack Bot
ff0507e00c
Sync Core Integrations API reference (watsonx) on Docusaurus ( #10416 )
...
Co-authored-by: sjrl <10526848+sjrl@users.noreply.github.com >
2026-01-21 14:14:30 +01:00
Agnieszka Marzec
e63eaa35f3
Feat: add copy button for docs ( #10353 )
...
* add copy button
* fix: use turndown & use proper css variables
---------
Co-authored-by: Yassine Gabsi <gabsiyassine@gmail.com >
2026-01-21 12:32:13 +01:00
Haystack Bot
ba9c4840c3
chore: Sync Haystack API reference on Docusaurus ( #10415 )
...
Co-authored-by: julian-risch <4181769+julian-risch@users.noreply.github.com >
2026-01-21 09:58:41 +01:00
Julian Risch
6c229d0391
chore: Simplify to_dict, from_dict with default (de-)serialization of Secrets ( #10411 )
...
* drop to_dict and deserialize_secrets_inplace
* add release note
---------
Co-authored-by: David S. Batista <dsbatista@gmail.com >
2026-01-21 09:55:10 +01:00
Haystack Bot
70c0ad7645
Sync Core Integrations API reference (elasticsearch) on Docusaurus ( #10407 )
...
Co-authored-by: davidsbatista <7937824+davidsbatista@users.noreply.github.com >
2026-01-20 15:25:50 +01:00
Julian Risch
f460ca1a66
feat: Add default (de-)serialization for Secrets ( #10404 )
...
* Add default serde for env_var secrets
* define custom component instead of using factory
* add release note
* address review comments
2026-01-20 11:18:55 +01:00
Haystack Bot
dddccb44d0
Sync Core Integrations API reference (azure_doc_intelligence) on Docusaurus ( #10401 )
...
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com >
2026-01-19 13:35:07 +01:00
Michele Pangrazzi
d3ed1b0370
Add env var to disable default pipeline snapshot file saving behaviour ( #10398 )
...
* Add env var to disable default pipeline snapshot file saving behaviour
* Add test ; refinements
* Disable file saving by default
* Fix tests which were relying on old behaviour
* Adjust file saving behaviour - enable it only where it's actually needed
* Fix also IT tests
* Update release note
2026-01-19 09:29:21 +00:00
Stefano Fiorucci
a353aed17b
fix: OpenAIChatGenerator - handle delta set to None ( #10397 )
2026-01-16 16:42:08 +01:00
Haystack Bot
de4e1897d0
Sync Core Integrations API reference (opensearch) on Docusaurus ( #10395 )
...
Co-authored-by: davidsbatista <7937824+davidsbatista@users.noreply.github.com >
2026-01-16 13:00:20 +01:00
Stefano Fiorucci
5e429f6a9e
ci: fix docker build ( #10393 )
2026-01-16 11:41:40 +01:00
Haystack Bot
dd610b18e2
Sync Core Integrations API reference (mcp) on Docusaurus ( #10394 )
...
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com >
2026-01-16 11:39:43 +01:00
Stefano Fiorucci
0cdccae226
ci: refactor/optimize Docker builds ( #10387 )
...
* ci: docker refactor - WIP
* retry
* fix
* improvements
* retry
* try amd64 only
* retry
* try arm
* try uv
* clean
* fix
* revert test changes
* use venv and test
* fix
* try simplification
* try setting stable
* better bake
* again
* clean up again
* fix
* try caching and test
* try separate caches
* trigger cache invalidation
* try triggering again
* Revert "try triggering again"
This reverts commit bbc42a6e2a .
* Revert "trigger cache invalidation"
This reverts commit b37310b9a1 .
* Revert "try separate caches"
This reverts commit 9ef381c9aa .
* Revert "try caching and test"
This reverts commit e50d57611a .
2026-01-16 10:46:03 +01:00
Sebastian Husch Lee
f63a2faa48
fix: Treat optional types properly during compatibility checks ( #10391 )
...
* Treat optional types properly during compatibility checks
* Fix unit test
* Add reno
* Use pep 604 union type building
* Refactor and expand tests
* More refactoring and parameterization
2026-01-16 08:55:19 +00:00
Stefano Fiorucci
95e0c8bd72
test: reorganize OpenAI/Azure Responses test suite ( #10392 )
...
* fix: fix OpenAI Responses for function calls without reasoning
* relnote
* start
* refactore Responses test suites
2026-01-16 08:36:31 +01:00
Stefano Fiorucci
7207bf5dbe
fix: fix OpenAI Responses for function calls without reasoning ( #10390 )
...
* fix: fix OpenAI Responses for function calls without reasoning
* relnote
* Trigger CI
2026-01-15 15:12:51 +00:00
Andrew Chen
0bd0cc9ef9
docs: update Nvidia embedder and generator pages ( #10388 )
...
* Update NVIDIA embedders
Signed-off-by: Andrew Chen <andrewch@nvidia.com >
* Update NVIDIA generators
Signed-off-by: Andrew Chen <andrewch@nvidia.com >
---------
Signed-off-by: Andrew Chen <andrewch@nvidia.com >
2026-01-15 10:16:39 +01:00
Haystack Bot
ad37e96bc6
Sync Core Integrations API reference (hanlp) on Docusaurus ( #10386 )
...
Co-authored-by: sjrl <10526848+sjrl@users.noreply.github.com >
2026-01-14 14:34:09 +01:00
Haystack Bot
a8223d9ffa
Sync Core Integrations API reference (llama_cpp) on Docusaurus ( #10385 )
...
Co-authored-by: sjrl <10526848+sjrl@users.noreply.github.com >
2026-01-14 13:28:24 +01:00
Haystack Bot
ab06d71446
Sync Haystack API reference on Docusaurus ( #10383 )
...
Co-authored-by: sjrl <10526848+sjrl@users.noreply.github.com >
2026-01-14 12:30:00 +01:00
Guna Palanivel
61deff198d
feat!: remove backward compatibility for legacy pipeline_outputs format ( #10249 )
...
Remove temporary deserialization logic for old pipeline_outputs format in
pipeline snapshots. This backward-compatibility layer was introduced in
PR #10096 and marked for removal in Haystack 2.23.0.
BREAKING CHANGE: Pipeline snapshots created before Haystack 2.17.0 will
no longer deserialize correctly. Users must recreate snapshots with the
current Haystack version or manually migrate to the new serialization schema.
Changes:
- Remove conditional deserialization check in Pipeline.run()
- Remove test_load_pipeline_snapshot_with_old_pipeline_outputs_format test
- Add breaking change documentation with migration instructions
The new format uses 'serialization_schema' and 'serialized_data' fields,
consistent with other pipeline state serialization.
Closes #10168
Ref #10096
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com >
2026-01-14 12:28:12 +01:00
Sebastian Husch Lee
fa9c9a32b4
Use structured format to increase robustness of extraction ( #10382 )
2026-01-14 12:25:08 +01:00
tstadel
011c9e86fd
enhancement: support flattened generation_kwargs for OpenAI ResponsesChatGenerator ( #10378 )
...
* feat: support flattened generation_kwargs for OpenAI ResponsesChatGenerator
* add reno
* fix reno
* fix reno
* fix reno
2026-01-14 12:16:02 +01:00
Haystack Bot
bc96d7200c
Sync Haystack API reference on Docusaurus ( #10381 )
...
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com >
2026-01-14 10:54:39 +01:00
Stefano Fiorucci
e41f0f13de
chore: RegexTextExtractor - remove _backward_compatible decorator ( #10380 )
...
* chore: RegexTextExtractor - remove _backward_compatible decorator
* use component serde methods
* rm pop none
2026-01-14 09:48:32 +00:00
Haystack Bot
66f6290dfb
Sync Core Integrations API reference (opensearch) on Docusaurus ( #10377 )
...
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com >
2026-01-13 17:03:29 +01:00
Haystack Bot
8b1148ad6b
Sync Core Integrations API reference (elasticsearch) on Docusaurus ( #10376 )
...
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com >
2026-01-13 16:21:58 +01:00
Michele Pangrazzi
96b8bc5be3
Skip callables in component tool schema generation ( #10362 )
...
* Skip callables in component tool schema generation (eg snapshot_callback)
* Release note
* Fix formatting on release note
* Update test/tools/test_component_tool.py
Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com >
* Fix formatting
* Add same fix to create_tool_from_function
---------
Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com >
2026-01-13 16:19:59 +01:00