haystack-ai 3.6.0.dev20261119002052__tar.gz → 3.6.0.dev20261121002009__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/PKG-INFO +1 -1
  2. haystack_ai-3.6.0.dev20261121002009/VERSION.txt +1 -0
  3. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/agents/agent.py +14 -3
  4. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/file_to_file_content.py +19 -2
  5. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/utils.py +3 -6
  6. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/evaluators/context_relevance.py +18 -8
  7. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/evaluators/llm_evaluator.py +12 -4
  8. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/type_utils.py +10 -0
  9. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/dataclasses/image_content.py +2 -0
  10. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/component_tool.py +4 -1
  11. haystack_ai-3.6.0.dev20261119002052/VERSION.txt +0 -1
  12. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/.gitignore +0 -0
  13. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/LICENSE +0 -0
  14. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/README.md +0 -0
  15. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/__init__.py +0 -0
  16. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/__init__.py +0 -0
  17. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/agents/__init__.py +0 -0
  18. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/agents/state/__init__.py +0 -0
  19. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/agents/state/state.py +0 -0
  20. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/agents/state/state_utils.py +0 -0
  21. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/agents/tool_calling.py +0 -0
  22. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/agents/utils.py +0 -0
  23. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/builders/__init__.py +0 -0
  24. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/builders/answer_builder.py +0 -0
  25. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/builders/chat_prompt_builder.py +0 -0
  26. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/builders/prompt_builder.py +0 -0
  27. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/caching/__init__.py +0 -0
  28. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/caching/cache_checker.py +0 -0
  29. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/classifiers/__init__.py +0 -0
  30. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/classifiers/openai_decisions_document_classifier.py +0 -0
  31. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/__init__.py +0 -0
  32. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/csv.py +0 -0
  33. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/docx.py +0 -0
  34. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/html.py +0 -0
  35. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/image/__init__.py +0 -0
  36. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/image/document_to_image.py +0 -0
  37. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/image/file_to_document.py +0 -0
  38. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/image/file_to_image.py +0 -0
  39. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/image/image_utils.py +0 -0
  40. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/image/pdf_to_image.py +0 -0
  41. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/json.py +0 -0
  42. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/markdown.py +0 -0
  43. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/msg.py +0 -0
  44. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/multi_file_converter.py +0 -0
  45. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/output_adapter.py +0 -0
  46. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/pdfminer.py +0 -0
  47. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/pptx.py +0 -0
  48. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/pypdf.py +0 -0
  49. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/txt.py +0 -0
  50. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/converters/xlsx.py +0 -0
  51. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/embedders/__init__.py +0 -0
  52. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/embedders/azure_document_embedder.py +0 -0
  53. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/embedders/azure_text_embedder.py +0 -0
  54. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/embedders/mock_document_embedder.py +0 -0
  55. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/embedders/mock_text_embedder.py +0 -0
  56. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/embedders/mock_utils.py +0 -0
  57. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/embedders/openai_document_embedder.py +0 -0
  58. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/embedders/openai_text_embedder.py +0 -0
  59. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/embedders/types/__init__.py +0 -0
  60. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/embedders/types/protocol.py +0 -0
  61. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/evaluators/__init__.py +0 -0
  62. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/evaluators/answer_exact_match.py +0 -0
  63. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/evaluators/document_map.py +0 -0
  64. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/evaluators/document_mrr.py +0 -0
  65. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/evaluators/document_ndcg.py +0 -0
  66. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/evaluators/document_recall.py +0 -0
  67. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/evaluators/faithfulness.py +0 -0
  68. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/evaluators/sas_evaluator.py +0 -0
  69. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/extractors/__init__.py +0 -0
  70. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/extractors/image/__init__.py +0 -0
  71. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/extractors/image/llm_document_content_extractor.py +0 -0
  72. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/extractors/llm_metadata_extractor.py +0 -0
  73. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/extractors/regex_text_extractor.py +0 -0
  74. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/fetchers/__init__.py +0 -0
  75. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/fetchers/link_content.py +0 -0
  76. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/__init__.py +0 -0
  77. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/chat/__init__.py +0 -0
  78. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/chat/_rate_limit_headers.py +0 -0
  79. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/chat/azure.py +0 -0
  80. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/chat/azure_responses.py +0 -0
  81. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/chat/fallback.py +0 -0
  82. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/chat/llm.py +0 -0
  83. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/chat/mock.py +0 -0
  84. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/chat/openai.py +0 -0
  85. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/chat/openai_responses.py +0 -0
  86. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/chat/types/__init__.py +0 -0
  87. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/chat/types/protocol.py +0 -0
  88. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/openai_image_generator.py +0 -0
  89. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/generators/utils.py +0 -0
  90. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/joiners/__init__.py +0 -0
  91. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/joiners/answer_joiner.py +0 -0
  92. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/joiners/branch.py +0 -0
  93. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/joiners/document_joiner.py +0 -0
  94. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/joiners/list_joiner.py +0 -0
  95. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/joiners/string_joiner.py +0 -0
  96. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/__init__.py +0 -0
  97. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/_page_numbers.py +0 -0
  98. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/csv_document_cleaner.py +0 -0
  99. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/csv_document_splitter.py +0 -0
  100. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/document_cleaner.py +0 -0
  101. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/document_preprocessor.py +0 -0
  102. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/document_splitter.py +0 -0
  103. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/embedding_based_document_splitter.py +0 -0
  104. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/hierarchical_document_splitter.py +0 -0
  105. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/markdown_header_splitter.py +0 -0
  106. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/python_code_splitter.py +0 -0
  107. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/recursive_splitter.py +0 -0
  108. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/sentence_tokenizer.py +0 -0
  109. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/preprocessors/text_cleaner.py +0 -0
  110. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/query/__init__.py +0 -0
  111. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/query/query_expander.py +0 -0
  112. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/rankers/__init__.py +0 -0
  113. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/rankers/llm_ranker.py +0 -0
  114. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/rankers/lost_in_the_middle.py +0 -0
  115. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/rankers/max_sim.py +0 -0
  116. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/rankers/meta_field.py +0 -0
  117. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/rankers/meta_field_grouping_ranker.py +0 -0
  118. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/retrievers/__init__.py +0 -0
  119. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/retrievers/auto_merging_retriever.py +0 -0
  120. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/retrievers/filter_retriever.py +0 -0
  121. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/retrievers/in_memory/__init__.py +0 -0
  122. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/retrievers/in_memory/bm25_retriever.py +0 -0
  123. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/retrievers/in_memory/embedding_retriever.py +0 -0
  124. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/retrievers/multi_query_embedding_retriever.py +0 -0
  125. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/retrievers/multi_query_text_retriever.py +0 -0
  126. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/retrievers/multi_retriever.py +0 -0
  127. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/retrievers/sentence_window_retriever.py +0 -0
  128. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/retrievers/text_embedding_retriever.py +0 -0
  129. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/retrievers/types/__init__.py +0 -0
  130. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/retrievers/types/protocol.py +0 -0
  131. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/routers/__init__.py +0 -0
  132. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/routers/conditional_router.py +0 -0
  133. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/routers/document_length_router.py +0 -0
  134. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/routers/document_type_router.py +0 -0
  135. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/routers/file_type_router.py +0 -0
  136. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/routers/llm_messages_router.py +0 -0
  137. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/routers/metadata_router.py +0 -0
  138. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/routers/openai_decisions_image_router.py +0 -0
  139. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/routers/openai_decisions_text_router.py +0 -0
  140. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/samplers/__init__.py +0 -0
  141. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/samplers/top_p.py +0 -0
  142. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/validators/__init__.py +0 -0
  143. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/validators/json_schema.py +0 -0
  144. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/writers/__init__.py +0 -0
  145. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/components/writers/document_writer.py +0 -0
  146. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/__init__.py +0 -0
  147. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/component/__init__.py +0 -0
  148. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/component/component.py +0 -0
  149. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/component/sockets.py +0 -0
  150. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/component/types.py +0 -0
  151. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/errors.py +0 -0
  152. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/pipeline/__init__.py +0 -0
  153. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/pipeline/base.py +0 -0
  154. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/pipeline/breakpoint.py +0 -0
  155. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/pipeline/component_checks.py +0 -0
  156. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/pipeline/descriptions.py +0 -0
  157. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/pipeline/draw.py +0 -0
  158. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/pipeline/pipeline.py +0 -0
  159. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/pipeline/utils.py +0 -0
  160. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/serialization.py +0 -0
  161. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/serialization_security.py +0 -0
  162. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/super_component/__init__.py +0 -0
  163. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/super_component/super_component.py +0 -0
  164. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/core/super_component/utils.py +0 -0
  165. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/data/abbreviations/de.txt +0 -0
  166. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/data/abbreviations/en.txt +0 -0
  167. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/dataclasses/__init__.py +0 -0
  168. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/dataclasses/answer.py +0 -0
  169. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/dataclasses/breakpoints.py +0 -0
  170. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/dataclasses/byte_stream.py +0 -0
  171. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/dataclasses/chat_message.py +0 -0
  172. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/dataclasses/document.py +0 -0
  173. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/dataclasses/file_content.py +0 -0
  174. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/dataclasses/skill_info.py +0 -0
  175. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/dataclasses/sparse_embedding.py +0 -0
  176. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/dataclasses/streaming_chunk.py +0 -0
  177. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/document_stores/__init__.py +0 -0
  178. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/document_stores/errors/__init__.py +0 -0
  179. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/document_stores/errors/errors.py +0 -0
  180. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/document_stores/in_memory/__init__.py +0 -0
  181. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/document_stores/in_memory/document_store.py +0 -0
  182. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/document_stores/types/__init__.py +0 -0
  183. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/document_stores/types/filter_policy.py +0 -0
  184. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/document_stores/types/policy.py +0 -0
  185. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/document_stores/types/protocol.py +0 -0
  186. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/errors.py +0 -0
  187. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/evaluation/__init__.py +0 -0
  188. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/evaluation/eval_run_result.py +0 -0
  189. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/__init__.py +0 -0
  190. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/backup_answer/__init__.py +0 -0
  191. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/backup_answer/hooks.py +0 -0
  192. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/budget/__init__.py +0 -0
  193. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/budget/hooks.py +0 -0
  194. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/compaction/AGENTS.md +0 -0
  195. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/compaction/CLAUDE.md +0 -0
  196. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/compaction/__init__.py +0 -0
  197. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/compaction/hooks.py +0 -0
  198. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/compaction/sliding_window.py +0 -0
  199. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/compaction/summarization.py +0 -0
  200. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/compaction/tool_result_offloading.py +0 -0
  201. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/compaction/tool_result_pruning.py +0 -0
  202. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/compaction/types/__init__.py +0 -0
  203. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/compaction/types/protocol.py +0 -0
  204. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/compaction/utils.py +0 -0
  205. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/from_function.py +0 -0
  206. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/human_in_the_loop/__init__.py +0 -0
  207. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/human_in_the_loop/dataclasses.py +0 -0
  208. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/human_in_the_loop/hooks.py +0 -0
  209. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/human_in_the_loop/policies.py +0 -0
  210. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/human_in_the_loop/strategies.py +0 -0
  211. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/human_in_the_loop/types/__init__.py +0 -0
  212. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/human_in_the_loop/types/protocol.py +0 -0
  213. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/human_in_the_loop/user_interfaces.py +0 -0
  214. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/invocation.py +0 -0
  215. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/protocol.py +0 -0
  216. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/structured_output/__init__.py +0 -0
  217. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/structured_output/hooks.py +0 -0
  218. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/tool_result_offloading/__init__.py +0 -0
  219. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/tool_result_offloading/hooks.py +0 -0
  220. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/tool_result_offloading/policies.py +0 -0
  221. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/tool_result_offloading/stores.py +0 -0
  222. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/tool_result_offloading/types/__init__.py +0 -0
  223. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/tool_result_offloading/types/protocol.py +0 -0
  224. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/tool_result_offloading/utils.py +0 -0
  225. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/hooks/utils.py +0 -0
  226. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/lazy_imports.py +0 -0
  227. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/logging.py +0 -0
  228. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/marshal/__init__.py +0 -0
  229. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/marshal/protocol.py +0 -0
  230. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/marshal/yaml.py +0 -0
  231. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/py.typed +0 -0
  232. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/skill_stores/__init__.py +0 -0
  233. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/skill_stores/file_system/__init__.py +0 -0
  234. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/skill_stores/file_system/skill_store.py +0 -0
  235. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/skill_stores/types/__init__.py +0 -0
  236. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/skill_stores/types/protocol.py +0 -0
  237. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/telemetry/__init__.py +0 -0
  238. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/telemetry/_environment.py +0 -0
  239. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/telemetry/_telemetry.py +0 -0
  240. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/__init__.py +0 -0
  241. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/callable_serialization/random_callable.py +0 -0
  242. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/document_store.py +0 -0
  243. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/document_store_async.py +0 -0
  244. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/factory.py +0 -0
  245. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/__init__.py +0 -0
  246. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/accumulate.py +0 -0
  247. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/add_value.py +0 -0
  248. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/concatenate.py +0 -0
  249. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/double.py +0 -0
  250. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/fstring.py +0 -0
  251. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/future_annotations.py +0 -0
  252. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/greet.py +0 -0
  253. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/hello.py +0 -0
  254. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/joiner.py +0 -0
  255. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/parity.py +0 -0
  256. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/remainder.py +0 -0
  257. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/repeat.py +0 -0
  258. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/subtract.py +0 -0
  259. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/sum.py +0 -0
  260. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/text_splitter.py +0 -0
  261. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/sample_components/threshold.py +0 -0
  262. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/telemetry.py +0 -0
  263. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/testing/test_utils.py +0 -0
  264. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/token_counters/__init__.py +0 -0
  265. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/token_counters/approximate_counter.py +0 -0
  266. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/token_counters/openai_counter.py +0 -0
  267. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/token_counters/tiktoken_counter.py +0 -0
  268. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/token_counters/types/__init__.py +0 -0
  269. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/token_counters/types/protocol.py +0 -0
  270. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/token_counters/utils.py +0 -0
  271. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/__init__.py +0 -0
  272. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/agent_tool.py +0 -0
  273. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/errors.py +0 -0
  274. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/from_function.py +0 -0
  275. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/parameters_schema_utils.py +0 -0
  276. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/pipeline_tool.py +0 -0
  277. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/searchable_toolset.py +0 -0
  278. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/serde_utils.py +0 -0
  279. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/skills/__init__.py +0 -0
  280. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/skills/skill_toolset.py +0 -0
  281. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/tool.py +0 -0
  282. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/tool_types.py +0 -0
  283. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/toolset.py +0 -0
  284. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tools/utils.py +0 -0
  285. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tracing/__init__.py +0 -0
  286. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tracing/logging_tracer.py +0 -0
  287. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tracing/tracer.py +0 -0
  288. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/tracing/utils.py +0 -0
  289. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/__init__.py +0 -0
  290. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/async_utils.py +0 -0
  291. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/auth.py +0 -0
  292. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/azure.py +0 -0
  293. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/base_serialization.py +0 -0
  294. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/callable_serialization.py +0 -0
  295. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/dataclasses.py +0 -0
  296. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/deserialization.py +0 -0
  297. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/device.py +0 -0
  298. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/experimental.py +0 -0
  299. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/filters.py +0 -0
  300. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/hf.py +0 -0
  301. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/http_client.py +0 -0
  302. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/jinja2_chat_extension.py +0 -0
  303. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/jinja2_extensions.py +0 -0
  304. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/jinja2_sandbox.py +0 -0
  305. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/jupyter.py +0 -0
  306. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/misc.py +0 -0
  307. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/requests_utils.py +0 -0
  308. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/type_serialization.py +0 -0
  309. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/utils/url_validation.py +0 -0
  310. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/haystack/version.py +0 -0
  311. {haystack_ai-3.6.0.dev20261119002052 → haystack_ai-3.6.0.dev20261121002009}/pyproject.toml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: haystack-ai
3
- Version: 3.6.0.dev20261119002052
3
+ Version: 3.6.0.dev20261121002009
4
4
  Summary: LLM framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data.
5
5
  Project-URL: CI: GitHub, https://github.com/deepset-ai/haystack/actions
6
6
  Project-URL: Docs: RTD, https://haystack.deepset.ai/overview/intro
@@ -0,0 +1 @@
1
+ 3.6.0.dev20261121002009
@@ -112,6 +112,15 @@ _INTERNAL_STATE_KEYS: dict[str, dict[str, Any]] = {
112
112
  }
113
113
 
114
114
 
115
+ class _StateInputOmitted:
116
+ """
117
+ Sentinel used as the default for optional Agent state input sockets.
118
+
119
+ When the pipeline supplies this default, the Agent excludes the corresponding
120
+ key from its run inputs. Explicitly provided values, including `None`, are preserved.
121
+ """
122
+
123
+
115
124
  def _get_run_method_params(instance: "Agent") -> set[str]:
116
125
  """Derive the parameter names of the Agent.run method via introspection."""
117
126
  sig = inspect.signature(instance.run)
@@ -567,7 +576,7 @@ class Agent:
567
576
  output_types[param] = config["type"]
568
577
  # Run-metadata keys are populated by the Agent itself and exposed as outputs only, not inputs.
569
578
  if param not in self._run_method_params and param not in _RUN_METADATA_STATE_KEYS:
570
- component.set_input_type(self, name=param, type=config["type"], default=None)
579
+ component.set_input_type(self, name=param, type=config["type"], default=_StateInputOmitted)
571
580
  component.set_output_types(self, **output_types)
572
581
 
573
582
  # --- Prompt builders ---
@@ -925,8 +934,9 @@ class Agent:
925
934
  `messages` whose `tool_call_result.origin.tool_name` matches it, which may not be `last_message` when
926
935
  the model called several tools at once), or `"max_agent_steps"` (the Agent hit `max_agent_steps` before
927
936
  meeting an exit condition), or a custom reason a hook supplied through the `stop_run` state key.
928
- - Any additional keys defined in the `state_schema`.
937
+ - Additional keys from `state_schema` passed as inputs or set during the run.
929
938
  """
939
+ kwargs = {key: value for key, value in kwargs.items() if value is not _StateInputOmitted}
930
940
  agent_inputs = {"messages": messages, "streaming_callback": streaming_callback, **kwargs}
931
941
  self.warm_up()
932
942
  # warm up tools passed at runtime
@@ -1021,8 +1031,9 @@ class Agent:
1021
1031
  `messages` whose `tool_call_result.origin.tool_name` matches it, which may not be `last_message` when
1022
1032
  the model called several tools at once), or `"max_agent_steps"` (the Agent hit `max_agent_steps` before
1023
1033
  meeting an exit condition), or a custom reason a hook supplied through the `stop_run` state key.
1024
- - Any additional keys defined in the `state_schema`.
1034
+ - Additional keys from `state_schema` passed as inputs or set during the run.
1025
1035
  """
1036
+ kwargs = {key: value for key, value in kwargs.items() if value is not _StateInputOmitted}
1026
1037
  agent_inputs = {"messages": messages, "streaming_callback": streaming_callback, **kwargs}
1027
1038
  await self.warm_up_async()
1028
1039
  # warm up tools passed at runtime
@@ -3,6 +3,7 @@
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
 
5
5
  import base64
6
+ import os
6
7
  from pathlib import Path
7
8
  from typing import Any
8
9
 
@@ -16,6 +17,20 @@ logger = logging.getLogger(__name__)
16
17
  _EMPTY_BYTE_STRING = b""
17
18
 
18
19
 
20
+ def _filename_from_meta(meta: dict[str, Any]) -> str | None:
21
+ """
22
+ Get a file name from ByteStream metadata.
23
+
24
+ :param meta: The ByteStream metadata.
25
+ :returns: The `file_name` value if set, otherwise the base name of `file_path`, otherwise `None`.
26
+ """
27
+ if file_name := meta.get("file_name"):
28
+ return str(file_name)
29
+ if file_path := meta.get("file_path"):
30
+ return os.path.basename(str(file_path))
31
+ return None
32
+
33
+
19
34
  @component
20
35
  class FileToFileContent:
21
36
  """
@@ -46,6 +61,8 @@ class FileToFileContent:
46
61
 
47
62
  :param sources:
48
63
  List of file paths or ByteStream objects to convert.
64
+ For a ByteStream, the file name is taken from `meta["file_name"]`, or else from the base name of
65
+ `meta["file_path"]`.
49
66
  :param extra:
50
67
  Optional extra information to attach to the FileContent objects. Can be used to store provider-specific
51
68
  information.
@@ -69,14 +86,14 @@ class FileToFileContent:
69
86
  if isinstance(source, str):
70
87
  source = Path(source)
71
88
 
72
- filename = source.name if isinstance(source, Path) else None
73
-
74
89
  try:
75
90
  bytestream = get_bytestream_from_source(source, guess_mime_type=True)
76
91
  except Exception as e:
77
92
  logger.warning("Could not read {source}. Skipping it. Error: {error}", source=source, error=e)
78
93
  continue
79
94
 
95
+ filename = source.name if isinstance(source, Path) else _filename_from_meta(meta=bytestream.meta)
96
+
80
97
  if bytestream.data == _EMPTY_BYTE_STRING:
81
98
  logger.warning("File {source} is empty. Skipping it.", source=source)
82
99
  continue
@@ -65,11 +65,8 @@ def normalize_metadata(meta: dict[str, Any] | list[dict[str, Any]] | None, sourc
65
65
 
66
66
  :param meta: the meta input of the converter, as-is
67
67
  :param sources_count: the number of sources the converter received
68
- :returns: a list of dictionaries of the make length as the sources list
69
-
70
- Each source always gets its own independent dictionary. When ``meta`` is ``None`` or a single
71
- dictionary, a separate copy is returned for every source so that mutating one source's metadata
72
- downstream does not leak into the others.
68
+ :returns: One independent metadata dictionary per source. If ``meta`` is ``None``, each source
69
+ gets an empty dictionary. Otherwise, the metadata for each source is deep-copied.
73
70
  """
74
71
  if meta is None:
75
72
  return [{} for _ in range(sources_count)]
@@ -78,5 +75,5 @@ def normalize_metadata(meta: dict[str, Any] | list[dict[str, Any]] | None, sourc
78
75
  if isinstance(meta, list):
79
76
  if sources_count != len(meta):
80
77
  raise ValueError("The length of the metadata list must match the number of sources.")
81
- return meta
78
+ return [deepcopy(item) for item in meta]
82
79
  raise ValueError("meta must be either None, a dictionary or a list of dictionaries.")
@@ -220,14 +220,24 @@ class ContextRelevanceEvaluator(LLMEvaluator):
220
220
  The updated dictionary containing final scores and tracking metrics.
221
221
  """
222
222
  for idx, res in enumerate(result["results"]):
223
- if res is None:
224
- result["results"][idx] = {"relevant_statements": [], "score": float("nan"), "status": "error"}
225
- continue
226
- res["status"] = "evaluated"
227
- if len(res["relevant_statements"]) > 0:
228
- res["score"] = 1
229
- else:
230
- res["score"] = 0
223
+ if res is not None:
224
+ statements = res["relevant_statements"]
225
+ if isinstance(statements, list):
226
+ res["score"] = 1 if statements else 0
227
+ res["status"] = "evaluated"
228
+ continue
229
+
230
+ value_type = type(statements).__name__
231
+ if self.raise_on_failure:
232
+ msg = f"Input {idx}: expected `relevant_statements` to be a list, got {value_type}."
233
+ raise ValueError(msg)
234
+ logger.warning(
235
+ "Input {idx}: expected `relevant_statements` to be a list, got {value_type}.",
236
+ idx=idx,
237
+ value_type=value_type,
238
+ )
239
+
240
+ result["results"][idx] = {"relevant_statements": [], "score": float("nan"), "status": "error"}
231
241
 
232
242
  # calculate average context relevance score over all queries
233
243
  scores = [res["score"] for res in result["results"]]
@@ -239,8 +239,9 @@ class LLMEvaluator:
239
239
  If the API is "openai" and the response contains a "meta" key, the metadata from OpenAI will be included
240
240
  in the output dictionary, under the key "meta".
241
241
  :raises ValueError:
242
- Only in the case that `raise_on_failure` is set to True and the received inputs are not lists or have
243
- different lengths, or if the output is not a valid JSON or doesn't contain the expected keys.
242
+ If the received inputs are missing, are not lists, have different lengths, or are empty lists.
243
+ If `raise_on_failure` is set to True, also if the output is not a valid JSON or doesn't contain the
244
+ expected keys.
244
245
  """
245
246
  self.warm_up()
246
247
 
@@ -312,8 +313,9 @@ class LLMEvaluator:
312
313
  :raises TypeError:
313
314
  If the chat generator does not support async execution.
314
315
  :raises ValueError:
315
- Only in the case that `raise_on_failure` is set to True and the received inputs are not lists or have
316
- different lengths, or if the output is not a valid JSON or doesn't contain the expected keys.
316
+ If the received inputs are missing, are not lists, have different lengths, or are empty lists.
317
+ If `raise_on_failure` is set to True, also if the output is not a valid JSON or doesn't contain the
318
+ expected keys.
317
319
  """
318
320
 
319
321
  await self.warm_up_async()
@@ -476,6 +478,7 @@ class LLMEvaluator:
476
478
  :raises ValueError:
477
479
  If not all expected inputs are present in the received inputs
478
480
  If the received inputs are not lists or have different lengths
481
+ If the received input lists are empty
479
482
  """
480
483
  # Validate that all expected inputs are present in the received inputs
481
484
  for param in expected:
@@ -500,3 +503,8 @@ class LLMEvaluator:
500
503
  f"{[len(_input) for _input in inputs]}."
501
504
  )
502
505
  raise ValueError(msg)
506
+
507
+ # Validate that the received inputs are not empty
508
+ if length == 0:
509
+ msg = f"LLM evaluator expects non-empty input lists but received empty lists for {list(received.keys())}."
510
+ raise ValueError(msg)
@@ -165,6 +165,16 @@ def _strict_types_are_compatible(sender: Any, receiver: Any) -> bool: # noqa: P
165
165
  if (sender_origin is Union and not sender_args) or (receiver_origin is Union and not receiver_args):
166
166
  return False
167
167
 
168
+ # A Literal stands for its values: each one must match the receiver, either by its type or, when the receiver is
169
+ # a Union, as a member of one of its Literal arguments. Literal receivers are matched by membership below.
170
+ if sender_origin is Literal and receiver_origin is not Literal:
171
+ if receiver_origin is Union:
172
+ return all(
173
+ any(_strict_types_are_compatible(Literal[value], union_arg) for union_arg in receiver_args)
174
+ for value in sender_args
175
+ )
176
+ return all(_strict_types_are_compatible(type(value), receiver) for value in sender_args)
177
+
168
178
  if sender_origin is not Union and receiver_origin is Union:
169
179
  return any(_strict_types_are_compatible(sender, union_arg) for union_arg in receiver_args)
170
180
 
@@ -53,6 +53,8 @@ FORMAT_TO_MIME = {
53
53
  MIME_TO_FORMAT = {v: k for k, v in FORMAT_TO_MIME.items()}
54
54
  # Adding some common MIME types that are not in the PIL mapping
55
55
  MIME_TO_FORMAT["image/jpg"] = "JPEG"
56
+ # BMP and DIB share a MIME type. Prefer BMP for standard .bmp files.
57
+ MIME_TO_FORMAT["image/bmp"] = "BMP"
56
58
 
57
59
  IMAGE_MIME_TYPES = set(MIME_TO_FORMAT.keys())
58
60
 
@@ -184,13 +184,16 @@ class ComponentTool(Tool):
184
184
 
185
185
  def convert_kwargs(kwargs: dict[str, Any]) -> dict[str, Any]:
186
186
  input_sockets = component.__haystack_input__._sockets_dict # type: ignore[attr-defined]
187
+ state_params = set((self.inputs_from_state or {}).values())
187
188
  unknown = set(kwargs) - set(input_sockets)
188
189
  if unknown:
189
190
  logger.warning(
190
191
  "Skipping unknown component input parameter(s): {names}.", names=", ".join(sorted(unknown))
191
192
  )
193
+ # Values mapped from State are already Python objects, so they are passed to the component as-is.
194
+ # Only LLM-provided JSON values are converted to the input socket type.
192
195
  return {
193
- name: self._convert_param(value, input_sockets[name].type)
196
+ name: value if name in state_params else self._convert_param(value, input_sockets[name].type)
194
197
  for name, value in kwargs.items()
195
198
  if name in input_sockets
196
199
  }
@@ -1 +0,0 @@
1
- 3.6.0.dev20261119002052