4406 Commits

Author SHA1 Message Date
tstadel
74da3d1c8a
fix: Agent deserialization when state_schema=None (#9984)
* fix: agent deserialization when state_schema None

* add reno
2025-10-31 08:12:27 +01:00
Daria Fokina
ce348d920a
docs: improve UI with Inter font and enhanced sidebar navigation (#9977)
* improving ui and nav

* move guides UP in the sidebars

* concepts overview rename
2025-10-30 16:00:01 +01:00
Vladimir Blagojevic
88470f6655
fix(tools): restore type compatibility for list[Tool] in ToolsType (#9960)
* fix(tools): restore type compatibility for list[Tool] in ToolsType

* Remove typing extension dep

* Update haystack/tools/__init__.py

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

---------

Co-authored-by: Sebastian Husch Lee <10526848+sjrl@users.noreply.github.com>
2025-10-30 14:15:16 +01:00
Daria Fokina
c96a999320
fix(docs): update all internal documentation links to use relative paths for proper version scoping (#9969)
* Update versionedReferenceLinks.js

* fixing all links

* github-hanlp-swap

---------

Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
2025-10-30 12:43:02 +01:00
Daria Fokina
70521e81d0
fix: make cross-plugin links version-aware in docs (#9968)
* Update versionedReferenceLinks.js

* add-api-slugs

* vercel-fix

* console-logs

* vercel-fix-2
2025-10-30 12:37:29 +01:00
Stefano Fiorucci
2a21e83f3e
chore: simplify Datadog log-trace correlation (#9974)
* fix ddtrace

* simplify

* simplify more

* relnote

* better relnote
2025-10-30 12:27:44 +01:00
Haystack Bot
78e976a7db
Sync Core Integrations API reference (hanlp) on Docusaurus (#9971)
Co-authored-by: dfokina <82442695+dfokina@users.noreply.github.com>
Co-authored-by: Daria Fokina <daria.fokina@deepset.ai>
2025-10-30 10:40:29 +01:00
Haystack Bot
b76797b6b4
Sync Core Integrations API reference (github) on Docusaurus (#9972)
Co-authored-by: dfokina <82442695+dfokina@users.noreply.github.com>
2025-10-30 10:37:46 +01:00
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