4398 Commits

Author SHA1 Message Date
Haystack Bot
229a780819
Sync Core Integrations API reference (deepeval) on Docusaurus (#9970)
Co-authored-by: sjrl <10526848+sjrl@users.noreply.github.com>
2025-10-30 10:37:27 +01:00
Daria Fokina
176b52e60e
docs: TogetherAI Generators (#9950)
* togetherai-docs-docusaurus

* non-chat-generator
2025-10-29 16:52:06 +01:00
Haystack Bot
f84f527ef2
Sync Haystack API reference on Docusaurus (#9964)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-10-29 15:10:58 +01:00
Vladimir Blagojevic
08f6969351
fix: Add warm_up() calls to tests after ChatGenerator tool initialization changes (#9965)
* In tests call agent.warm_up() where needed

* Add reno

* Update wording in reno note

* Update reno note
2025-10-29 13:52:57 +01:00
HamidOna
6c78f1048c
feat: Add warm_up() method to ChatGenerators for tool initialization (#9942)
* Add warm_up() method to OpenAIChatGenerator

- Add warm_up() method that calls warm_up_tools()
- Add _is_warmed_up flag for idempotency
- Import warm_up_tools from haystack.tools
- Add comprehensive tests:
  - test_warm_up_with_tools: single tool case
  - test_warm_up_with_no_tools: no tools case
  - test_warm_up_with_multiple_tools: multiple tools case
- All tests passing

Part of issue #9907

* Add warm_up() method to AzureOpenAIChatGenerator

- Add warm_up() method that calls warm_up_tools()
- Add _is_warmed_up flag for idempotency
- Import warm_up_tools from haystack.tools
- Add comprehensive tests:
  - test_warm_up_with_tools: single tool case
  - test_warm_up_with_no_tools: no tools case
  - test_warm_up_with_multiple_tools: multiple tools case
- All tests passing

Part of issue #9907

* Add warm_up() method to HuggingFaceAPIChatGenerator

- Add warm_up() method that calls warm_up_tools()
- Add _is_warmed_up flag for idempotency
- Import warm_up_tools from haystack.tools
- Add comprehensive tests:
  - test_warm_up_with_tools: single tool case
  - test_warm_up_with_no_tools: no tools case
  - test_warm_up_with_multiple_tools: multiple tools case
- All tests passing

Part of issue #9907

* Enhance warm_up() method in HuggingFaceLocalChatGenerator

- Add warm_up_tools import from haystack.tools.utils
- Add _is_warmed_up flag for idempotency
- Enhance existing warm_up() to also warm up tools
- Preserve existing pipeline initialization logic
- Add comprehensive tests:
  - test_warm_up_with_tools: single tool case
  - test_warm_up_with_no_tools: no tools case
  - test_warm_up_with_multiple_tools: multiple tools case

Part of issue #9907

* Add warm_up() method to FallbackChatGenerator

- Add warm_up() method that delegates to underlying generators
- Uses hasattr check to gracefully handle generators without warm_up
- Add comprehensive tests:
  - test_warm_up_delegates_to_generators: verify delegation works
  - test_warm_up_with_no_warm_up_method: handle missing warm_up gracefully
  - test_warm_up_mixed_generators: mix of generators with/without warm_up
- All tests passing

Part of issue #9907

* docs: Add release notes for warm_up() feature

---------

Co-authored-by: HamidOna13 <abdulhamid.onawole@aizatron.com>
2025-10-29 11:06:55 +01:00
Haystack Bot
deb5a9557d
Sync Core Integrations API reference (mongodb_atlas) on Docusaurus (#9963)
Co-authored-by: davidsbatista <7937824+davidsbatista@users.noreply.github.com>
2025-10-29 10:47:01 +01:00
Haystack Bot
b783027c06
Sync Core Integrations API reference (meta_llama) on Docusaurus (#9959)
Co-authored-by: Amnah199 <13835656+Amnah199@users.noreply.github.com>
2025-10-29 09:46:23 +01:00
Haystack Bot
f980953767
Sync Haystack API reference on Docusaurus (#9957)
Co-authored-by: sjrl <10526848+sjrl@users.noreply.github.com>
2025-10-28 10:08:28 +01:00
Jan Beitner
6e12368177
feat: Add generation_kwargs to run methods of Agent (#9616)
* add generation_kwargs to run methods of Agent

* include test generation_kwargs in agent unit tests

* fix typo

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

* Update haystack/components/agents/agent.py

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

* Update haystack/components/agents/agent.py

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

* create separate unit test for generation kwargs with agent

* fix formatting

* add back generation_kwargs

* add release notes

---------

Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
2025-10-28 09:02:51 +00:00
Haystack Bot
de0f92c604
Sync Core Integrations API reference (opensearch) on Docusaurus (#9953)
Co-authored-by: davidsbatista <7937824+davidsbatista@users.noreply.github.com>
2025-10-27 17:33:46 +01:00
Stefano Fiorucci
00a644a00a
docs: simplify paths on main version (#9954) 2025-10-27 17:26:17 +01:00
Daria Fokina
4ce5b683db
docs: create MistralOCRDocumentConverter docs (#9952)
* converter-docs

* upd-reference-link
2025-10-27 16:37:45 +01:00
Haystack Bot
2d0fd42314
Sync Core Integrations API reference (chroma) on Docusaurus (#9951)
Co-authored-by: davidsbatista <7937824+davidsbatista@users.noreply.github.com>
2025-10-27 15:38:47 +01:00
Daria Fokina
3e81ec75dc
docs: add 2.18 and 2.19 actual documentation pages (#9946)
* versioned-docs

* external-documentstores
2025-10-27 13:03:22 +01:00
Haystack Bot
20620cd5bf
Sync Core Integrations API reference (mistral) on Docusaurus (#9947)
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com>
2025-10-27 12:42:41 +01:00
Haystack Bot
8d0755455d
Sync Haystack API reference on Docusaurus (#9944)
Co-authored-by: sjrl <10526848+sjrl@users.noreply.github.com>
2025-10-27 09:56:59 +01:00
Richi
c2f964b1ee
fix: minor type hint in run method (#9931)
* fix: minor type hint in run method

* fix: hatch run fmt
2025-10-27 08:41:42 +00:00
Haystack Bot
5546169816
Sync Core Integrations API reference (llama_stack) on Docusaurus (#9941)
Co-authored-by: vblagoje <458335+vblagoje@users.noreply.github.com>
2025-10-24 16:53:22 +02:00
Stefano Fiorucci
67592a1494
docs: try better config for Vercel (#9939) 2025-10-24 14:59:25 +02:00
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