Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.
This report summarizes scanner evidence for deepset-ai/haystack, a Python project with 26,714 GitHub stars. SynthScan examined 1,576,760 lines of code across 4933 source files, recording 6213 pattern matches distributed across 26 syntactic categories. The legacy adjusted pattern signal is 6.2 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 4719 finding(s).
Are imports declared and package/API names verified? 846 finding(s).
Are wrappers, guards, and repeated structures necessary? 4903 finding(s).
Which changes need focused human review? 6213 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 6213 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/test_logging.py | 96 | def test_skip_logging_configuration( | CODE |
| LOW | test/test_logging.py | 113 | def test_log_filtering_when_using_debug(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 124 | def test_log_filtering_when_using_debug_and_log_level_is_debug(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 137 | def test_console_rendered_structured_log_even_if_no_tty_but_python_config( | CODE |
| LOW | test/test_logging.py | 153 | def test_console_rendered_structured_log_if_in_ipython( | CODE |
| LOW | test/test_logging.py | 169 | def test_console_rendered_structured_log_even_in_jupyter( | CODE |
| LOW | test/test_logging.py | 185 | def test_console_rendered_structured_log_even_if_no_tty_but_forced_through_env( | CODE |
| LOW | test/test_logging.py | 201 | def test_console_rendered_structured_log(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 227 | def function_that_raises_and_adds_to_stack_trace(): | CODE |
| LOW | test/test_logging.py | 240 | def test_logging_of_contextvars(self, capfd: CaptureFixture, set_context_var_key: str) -> None: | CODE |
| LOW | test/test_logging.py | 253 | def test_logging_as_json_if_not_atty(self, capfd: CaptureFixture, monkeypatch: MonkeyPatch) -> None: | CODE |
| LOW | test/test_logging.py | 294 | def test_logging_as_json_enabling_via_env(self, capfd: CaptureFixture, monkeypatch: MonkeyPatch) -> None: | CODE |
| LOW | test/test_logging.py | 315 | def test_logging_of_contextvars( | CODE |
| LOW | test/test_logging.py | 339 | def test_logging_exceptions_json(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 344 | def function_that_raises_and_adds_to_stack_trace(): | CODE |
| LOW | test/test_logging.py | 387 | def test_exception_values_do_not_leak_their_payload(self, capfd: CaptureFixture, monkeypatch: MonkeyPatch) -> None: | CODE |
| LOW | test/test_logging.py | 403 | def test_long_values_are_truncated(self, capfd: CaptureFixture, monkeypatch: MonkeyPatch) -> None: | CODE |
| LOW | test/test_logging.py | 412 | def test_console_rendering_also_bounds_values(self, capfd: CaptureFixture, monkeypatch: MonkeyPatch) -> None: | CODE |
| LOW | test/test_logging.py | 423 | def test_trace_log_correlation_python_logs_with_console_rendering( | CODE |
| LOW | test/test_logging.py | 435 | def test_trace_log_correlation_python_logs(self, spying_tracer: SpyingTracer, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 458 | def test_trace_log_correlation_no_span(self, spying_tracer: SpyingTracer, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 478 | def test_trace_log_correlation_no_tracer(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 500 | def test_correct_stack_level_with_stdlib_rendering( | CODE |
| LOW | test/test_logging.py | 516 | def test_correct_stack_level_with_consoler_rendering(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 604 | def test_log_with_string_cast(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 638 | def test_haystack_logger_with_positional_args(self, method: str, expected_level: str) -> None: | CODE |
| LOW | test/test_logging.py | 659 | def test_haystack_logger_with_old_interpolation(self, method: str, expected_level: str) -> None: | CODE |
| LOW | test/test_logging.py | 668 | def test_that_haystack_logger_is_used(self) -> None: | CODE |
| LOW | test/test_logging.py | 704 | def test_handler_is_attached_to_haystack_namespaces_and_not_root(self) -> None: | CODE |
| LOW | test/test_logging.py | 715 | def test_integrations_logs_are_formatted_by_haystack(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 723 | def test_other_services_logs_are_not_reformatted_by_haystack( | CODE |
| LOW | test/test_logging.py | 750 | def test_legacy_root_behavior_still_available_via_empty_logger_name(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 761 | def test_switching_to_root_logger_does_not_duplicate_haystack_logs(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 777 | def test_propagate_is_true_by_default(self, caplog: LogCaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 787 | def test_propagate_false_stops_records_from_reaching_root(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 813 | def test_structlog_native_logger_respects_level_lowered_after_configure(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 825 | def test_structlog_native_logger_still_filters_below_level(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 841 | def test_without_configure_structlog_existing_config_is_preserved(self, restore_structlog_config: None) -> None: | CODE |
| LOW | test/test_logging.py | 856 | def test_configure_structlog_takes_over_existing_config(self, restore_structlog_config: None) -> None: | CODE |
| LOW | test/test_logging.py | 867 | def test_installs_handler_without_configuring_structlog(self, restore_structlog_config: None) -> None: | CODE |
| LOW | test/test_logging.py | 892 | def test_repeated_get_logger_interpolates_the_message_exactly_once(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 908 | def test_repeated_get_logger_does_not_rewrap_methods(self) -> None: | CODE |
| LOW | test/test_logging.py | 929 | def test_find_caller_does_not_print_or_mask_errors(self, capsys: CaptureFixture, monkeypatch: MonkeyPatch) -> None: | CODE |
| LOW | test/test_imports.py | 11 | def test_lazy_importer_avoids_importing_unused_modules(): | CODE |
| LOW | test/test_imports.py | 30 | def test_import_error_is_suppressed_and_deferred(): | CODE |
| LOW | test/test_release_note_backticks.py | 30 | def test_converts_single_to_double(self, text, expected): | CODE |
| LOW⚡ | test/test_release_note_backticks.py | 43 | def test_leaves_valid_rst_untouched(self, text): | CODE |
| LOW⚡ | test/test_release_note_backticks.py | 46 | def test_only_single_backticks_in_mixed_text_are_converted(self): | CODE |
| LOW⚡ | test/test_release_note_backticks.py | 55 | def test_unbalanced_single_backtick_is_left_untouched(self): | CODE |
| LOW⚡ | test/test_release_note_backticks.py | 62 | def test_fix_rewrites_file_and_is_idempotent(self, tmp_path): | CODE |
| LOW | test/test_release_note_backticks.py | 75 | def test_check_mode_reports_without_modifying(self, tmp_path): | CODE |
| LOW | test/test_telemetry.py | 87 | def test_pipeline_running_with_non_serializable_component(telemetry): | CODE |
| LOW | test/test_telemetry.py | 117 | def test_pipeline_running_reports_agent_tools(telemetry): | CODE |
| LOW | test/test_telemetry.py | 144 | def _pipeline_with_agent_using_toolset_loading_on_warm_up() -> Pipeline: | CODE |
| LOW⚡ | test/test_telemetry.py | 157 | def test_pipeline_run_reports_tools_loaded_on_warm_up(block_telemetry_network_calls: Mock) -> None: | CODE |
| LOW⚡ | test/test_telemetry.py | 167 | async def test_pipeline_run_async_reports_tools_loaded_on_warm_up(block_telemetry_network_calls: Mock) -> None: | CODE |
| LOW⚡ | test/test_telemetry.py | 177 | def test_pipeline_running_with_non_dict_telemetry_data(caplog): | CODE |
| LOW | test/test_telemetry.py | 198 | def test_send_telemetry_preserves_function_metadata(): | CODE |
| LOW⚡ | test/tracing/test_utils.py | 45 | def test_list_serialized_recursively(self) -> None: | CODE |
| LOW⚡ | test/tracing/test_utils.py | 49 | def test_dict_serialized_recursively(self) -> None: | CODE |
| 4176 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/tools/test_from_function.py | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.22/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.25/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …e_versioned_docs/version-3.3/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.24/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.23/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …e_versioned_docs/version-3.2/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.30/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.31/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …e_versioned_docs/version-3.0/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.28/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.26/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.19/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.21/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …e_versioned_docs/version-3.1/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.20/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.27/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.18/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …_versioned_docs/version-2.29/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | docs-website/reference/haystack-api/tools_api.md | 0 | a simple function to get the current weather for a location. | STRING |
| HIGH | …e/breakpoints/test_pipeline_breakpoints_list_joiner.py | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.22/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.25/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …versioned_docs/version-3.3/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.24/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.23/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …versioned_docs/version-3.2/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.30/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.31/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …versioned_docs/version-3.0/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.28/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.26/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.19/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.21/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …versioned_docs/version-3.1/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.20/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.27/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.18/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | …ersioned_docs/version-2.29/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | docs-website/reference/haystack-api/joiners_api.md | 0 | you are given a question and an answer. your task is to provide a score and a brief feedback on the answer. question: {{ | STRING |
| HIGH | test/utils/test_jinja2_extensions.py | 0 | mock the arrow.now function to return a fixed datetime | STRING |
| HIGH | test/components/builders/test_chat_prompt_builder.py | 0 | mock the arrow.now function to return a fixed datetime | STRING |
| HIGH | test/components/builders/test_prompt_builder.py | 0 | mock the arrow.now function to return a fixed datetime | STRING |
| HIGH | test/token_counters/test_tiktoken_counter.py | 0 | search the web for a query and return the top results. | STRING |
| HIGH | test/token_counters/test_openai_counter.py | 0 | search the web for a query and return the top results. | STRING |
| HIGH | test/token_counters/test_approximate_counter.py | 0 | search the web for a query and return the top results. | STRING |
| HIGH | …components/retrievers/test_text_embedding_retriever.py | 0 | create a document store populated with embedded documents. | STRING |
| HIGH | test/components/retrievers/test_multi_retriever.py | 0 | create a document store populated with embedded documents. | STRING |
| HIGH | …nts/retrievers/test_multi_query_embedding_retriever.py | 0 | create a document store populated with embedded documents. | STRING |
| HIGH | test/components/converters/test_pdfminer_to_document.py | 0 | test if the component runs correctly with store_full_path=false | STRING |
| HIGH | …st/components/converters/test_docx_file_to_document.py | 0 | test if the component runs correctly with store_full_path=false | STRING |
| HIGH | test/components/converters/test_pptx_to_document.py | 0 | test if the component runs correctly with store_full_path=false | STRING |
| HIGH | test/components/converters/test_markdown_to_document.py | 0 | test if the component runs correctly with store_full_path=false | STRING |
| HIGH | test/components/converters/test_csv_to_document.py | 0 | test if the component runs correctly with store_full_path=false | STRING |
| HIGH | test/components/converters/test_json.py | 0 | test if the component runs correctly with store_full_path=false | STRING |
| HIGH | test/components/converters/test_pypdf_to_document.py | 0 | test if the component runs correctly with store_full_path=false | STRING |
| HIGH | test/components/agents/test_agent.py | 0 | mock the openai api completion response and reuse it for async tests | STRING |
| HIGH | test/components/generators/conftest.py | 0 | mock the openai api completion response and reuse it for async tests | STRING |
| HIGH | test/components/generators/chat/test_openai.py | 0 | mock the openai api completion response and reuse it for async tests | STRING |
| HIGH | test/components/generators/chat/test_openai_async.py | 0 | mock the openai api completion response and reuse it for async tests | STRING |
| 329 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | haystack/components/generators/chat/azure.py | 54 | api_key=Secret.from_token("<your-api-key>"), | STRING |
| HIGH | …ioned_docs/version-2.22/haystack-api/generators_api.md | 38 | api_key=Secret.from_token("<your-api-key>"), | CODE |
| HIGH | …ioned_docs/version-2.22/haystack-api/generators_api.md | 219 | api_key=Secret.from_token("<your-api-key>"), | CODE |
| HIGH | …ioned_docs/version-2.22/haystack-api/generators_api.md | 866 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ioned_docs/version-2.22/haystack-api/generators_api.md | 892 | token=Secret.from_token("<your-api-key>") | CODE |
| HIGH | …ioned_docs/version-2.22/haystack-api/generators_api.md | 911 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ioned_docs/version-2.22/haystack-api/generators_api.md | 1885 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ioned_docs/version-2.22/haystack-api/generators_api.md | 1905 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …sioned_docs/version-2.22/haystack-api/embedders_api.md | 367 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …sioned_docs/version-2.22/haystack-api/embedders_api.md | 386 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …sioned_docs/version-2.22/haystack-api/embedders_api.md | 554 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …sioned_docs/version-2.22/haystack-api/embedders_api.md | 568 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ce_versioned_docs/version-2.22/integrations-api/mcp.md | 788 | # 2. export OPENAI_API_KEY="your-api-key" # Set up your OpenAI API key | COMMENT |
| HIGH | …versioned_docs/version-2.22/integrations-api/qdrant.md | 658 | api_key="<your-api-key>", | CODE |
| HIGH | …_docs/version-2.22/integrations-api/huggingface_api.md | 34 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.22/integrations-api/huggingface_api.md | 53 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.22/integrations-api/huggingface_api.md | 529 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.22/integrations-api/huggingface_api.md | 543 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.22/integrations-api/huggingface_api.md | 746 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.22/integrations-api/huggingface_api.md | 772 | token=Secret.from_token("<your-api-key>") | CODE |
| HIGH | …_docs/version-2.22/integrations-api/huggingface_api.md | 791 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ioned_docs/version-2.25/haystack-api/generators_api.md | 35 | api_key=Secret.from_token("<your-api-key>"), | CODE |
| HIGH | …ioned_docs/version-2.25/haystack-api/generators_api.md | 180 | api_key=Secret.from_token("<your-api-key>"), | CODE |
| HIGH | …ioned_docs/version-2.25/haystack-api/generators_api.md | 628 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ioned_docs/version-2.25/haystack-api/generators_api.md | 654 | token=Secret.from_token("<your-api-key>") | CODE |
| HIGH | …ioned_docs/version-2.25/haystack-api/generators_api.md | 673 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ioned_docs/version-2.25/haystack-api/generators_api.md | 1720 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ioned_docs/version-2.25/haystack-api/generators_api.md | 1750 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …sioned_docs/version-2.25/haystack-api/embedders_api.md | 267 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …sioned_docs/version-2.25/haystack-api/embedders_api.md | 286 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …sioned_docs/version-2.25/haystack-api/embedders_api.md | 441 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …sioned_docs/version-2.25/haystack-api/embedders_api.md | 455 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ce_versioned_docs/version-2.25/integrations-api/mcp.md | 788 | # 2. export OPENAI_API_KEY="your-api-key" # Set up your OpenAI API key | COMMENT |
| HIGH | …versioned_docs/version-2.25/integrations-api/qdrant.md | 658 | api_key="<your-api-key>", | CODE |
| HIGH | …_docs/version-2.25/integrations-api/huggingface_api.md | 34 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.25/integrations-api/huggingface_api.md | 53 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.25/integrations-api/huggingface_api.md | 529 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.25/integrations-api/huggingface_api.md | 543 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.25/integrations-api/huggingface_api.md | 746 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.25/integrations-api/huggingface_api.md | 772 | token=Secret.from_token("<your-api-key>") | CODE |
| HIGH | …_docs/version-2.25/integrations-api/huggingface_api.md | 791 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …sioned_docs/version-3.3/haystack-api/generators_api.md | 42 | api_key=Secret.from_token("<your-api-key>"), | CODE |
| HIGH | …nce_versioned_docs/version-3.3/integrations-api/mcp.md | 788 | # 2. export OPENAI_API_KEY="your-api-key" # Set up your OpenAI API key | COMMENT |
| HIGH | …_versioned_docs/version-3.3/integrations-api/qdrant.md | 658 | api_key="<your-api-key>", | CODE |
| HIGH | …d_docs/version-3.3/integrations-api/huggingface_api.md | 34 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …d_docs/version-3.3/integrations-api/huggingface_api.md | 53 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …d_docs/version-3.3/integrations-api/huggingface_api.md | 529 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …d_docs/version-3.3/integrations-api/huggingface_api.md | 543 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …d_docs/version-3.3/integrations-api/huggingface_api.md | 746 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …d_docs/version-3.3/integrations-api/huggingface_api.md | 772 | token=Secret.from_token("<your-api-key>") | CODE |
| HIGH | …d_docs/version-3.3/integrations-api/huggingface_api.md | 791 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ioned_docs/version-2.24/haystack-api/generators_api.md | 38 | api_key=Secret.from_token("<your-api-key>"), | CODE |
| HIGH | …ioned_docs/version-2.24/haystack-api/generators_api.md | 219 | api_key=Secret.from_token("<your-api-key>"), | CODE |
| HIGH | …ioned_docs/version-2.24/haystack-api/generators_api.md | 866 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ioned_docs/version-2.24/haystack-api/generators_api.md | 892 | token=Secret.from_token("<your-api-key>") | CODE |
| HIGH | …ioned_docs/version-2.24/haystack-api/generators_api.md | 911 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ioned_docs/version-2.24/haystack-api/generators_api.md | 1885 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ioned_docs/version-2.24/haystack-api/generators_api.md | 1905 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …sioned_docs/version-2.24/haystack-api/embedders_api.md | 367 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …sioned_docs/version-2.24/haystack-api/embedders_api.md | 386 | token=Secret.from_token("<your-api-key>")) | CODE |
| 281 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/conftest.py | 17 | CODE | |
| LOW | test/conftest.py | 17 | CODE | |
| LOW | test/conftest.py | 17 | CODE | |
| LOW | test/test_imports.py | 20 | CODE | |
| LOW | test/test_imports.py | 32 | CODE | |
| LOW | test/core/future_annotations_functions.py | 7 | CODE | |
| LOW | test/components/generators/conftest.py | 7 | CODE | |
| LOW | haystack/logging.py | 17 | CODE | |
| LOW | haystack/logging.py | 17 | CODE | |
| LOW | haystack/__init__.py | 14 | CODE | |
| LOW | haystack/__init__.py | 15 | CODE | |
| LOW | haystack/__init__.py | 15 | CODE | |
| LOW | haystack/__init__.py | 16 | CODE | |
| LOW | haystack/__init__.py | 17 | CODE | |
| LOW | haystack/__init__.py | 17 | CODE | |
| LOW | haystack/__init__.py | 18 | CODE | |
| LOW | haystack/__init__.py | 18 | CODE | |
| LOW | haystack/__init__.py | 19 | CODE | |
| LOW | haystack/__init__.py | 19 | CODE | |
| LOW | haystack/__init__.py | 19 | CODE | |
| LOW | haystack/__init__.py | 19 | CODE | |
| LOW | haystack/__init__.py | 20 | CODE | |
| LOW | haystack/tracing/__init__.py | 7 | CODE | |
| LOW | haystack/tracing/__init__.py | 7 | CODE | |
| LOW | haystack/tracing/__init__.py | 7 | CODE | |
| LOW | haystack/tracing/__init__.py | 7 | CODE | |
| LOW | haystack/tracing/__init__.py | 7 | CODE | |
| LOW | haystack/tracing/__init__.py | 7 | CODE | |
| LOW | haystack/document_stores/types/__init__.py | 5 | CODE | |
| LOW | haystack/document_stores/types/__init__.py | 5 | CODE | |
| LOW | haystack/document_stores/types/__init__.py | 6 | CODE | |
| LOW | haystack/document_stores/types/__init__.py | 7 | CODE | |
| LOW | haystack/document_stores/in_memory/__init__.py | 13 | CODE | |
| LOW | haystack/document_stores/in_memory/document_store.py | 12 | CODE | |
| LOW | haystack/document_stores/errors/__init__.py | 5 | CODE | |
| LOW | haystack/document_stores/errors/__init__.py | 5 | CODE | |
| LOW | haystack/document_stores/errors/__init__.py | 5 | CODE | |
| LOW | haystack/tools/__init__.py | 39 | CODE | |
| LOW | haystack/tools/__init__.py | 40 | CODE | |
| LOW | haystack/tools/__init__.py | 41 | CODE | |
| LOW | haystack/tools/__init__.py | 42 | CODE | |
| LOW | haystack/tools/__init__.py | 43 | CODE | |
| LOW | haystack/tools/__init__.py | 44 | CODE | |
| LOW | haystack/tools/__init__.py | 45 | CODE | |
| LOW | haystack/tools/__init__.py | 46 | CODE | |
| LOW | haystack/tools/__init__.py | 47 | CODE | |
| LOW | haystack/tools/__init__.py | 48 | CODE | |
| LOW | haystack/tools/__init__.py | 49 | CODE | |
| LOW | haystack/tools/__init__.py | 50 | CODE | |
| LOW | haystack/tools/__init__.py | 51 | CODE | |
| LOW | haystack/tools/__init__.py | 52 | CODE | |
| LOW | haystack/tools/searchable_toolset.py | 26 | CODE | |
| LOW | haystack/tools/serde_utils.py | 13 | CODE | |
| LOW | haystack/tools/utils.py | 12 | CODE | |
| LOW | haystack/tools/skills/__init__.py | 5 | CODE | |
| LOW | haystack/marshal/__init__.py | 13 | CODE | |
| LOW | haystack/marshal/__init__.py | 14 | CODE | |
| LOW | haystack/core/__init__.py | 5 | CODE | |
| LOW | haystack/core/serialization.py | 16 | CODE | |
| LOW | haystack/core/pipeline/__init__.py | 5 | CODE | |
| 246 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | test/tracing/test_utils.py | 103 | '{"id": "1", "content": "text", "blob": null, "score": null, "embedding": null, ' | CODE |
| HIGH⚡ | test/tracing/test_utils.py | 104 | '"sparse_embedding": null}', | CODE |
| HIGH⚡ | test/tracing/test_utils.py | 108 | '[{"id": "1", "content": "text", "blob": null, "score": null, "embedding": null, ' | CODE |
| HIGH⚡ | test/tracing/test_utils.py | 109 | '"sparse_embedding": null}]', | CODE |
| HIGH⚡ | test/tracing/test_utils.py | 113 | '{"key": {"id": "1", "content": "text", "blob": null, "score": null, "embedding": null, ' | CODE |
| HIGH⚡ | test/tracing/test_utils.py | 114 | '"sparse_embedding": null}}', | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 45 | empty_queue.push("item1", 1) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 55 | empty_queue.push(item, priority) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 67 | empty_queue.push(item, priority) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 77 | empty_queue.push("medium1", 2) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 78 | empty_queue.push("high", 1) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 79 | empty_queue.push("medium2", 2) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 80 | empty_queue.push("low", 3) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 147 | empty_queue.push("item", 1) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 160 | empty_queue.push(f"item{i}", priority) | CODE |
| HIGH | test/core/pipeline/test_utils.py | 91 | empty_queue.push("item1", 1) | CODE |
| HIGH | test/core/pipeline/test_utils.py | 92 | empty_queue.push("item2", 2) | CODE |
| HIGH | test/core/pipeline/test_utils.py | 106 | empty_queue.push("item1", 1) | CODE |
| HIGH | test/core/pipeline/test_utils.py | 129 | empty_queue.push("item1", 1) | CODE |
| HIGH | test/core/pipeline/test_utils.py | 131 | empty_queue.push("item2", 2) | CODE |
| HIGH | test/core/pipeline/test_utils.py | 189 | empty_queue.push(item, priority) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1380 | queue.push("ready_component", ComponentPriority.READY) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1393 | queue.push("blocked_component", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1407 | queue.push("ready_component", ComponentPriority.READY) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1699 | priority_queue.push("comp1", ComponentPriority.DEFER) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1700 | priority_queue.push("comp2", ComponentPriority.DEFER) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1726 | priority_queue.push("branch_joiner", ComponentPriority.DEFER) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1727 | priority_queue.push("comp3", ComponentPriority.DEFER) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2880 | priority_queue.push("comp1", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2881 | priority_queue.push("comp2", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2882 | priority_queue.push("comp3", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2911 | priority_queue.push("comp1", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2912 | priority_queue.push("router", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2913 | priority_queue.push("comp2", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2914 | priority_queue.push("blocking_comp", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2915 | priority_queue.push("a_comp3", ComponentPriority.BLOCKED) | CODE |
| HIGH | test/core/pipeline/test_pipeline_base.py | 1434 | queue.push(component_name, priority) | CODE |
| HIGH | test/core/pipeline/test_pipeline_base.py | 2854 | priority_queue.push("comp1", ComponentPriority.BLOCKED) | CODE |
| HIGH | test/core/pipeline/test_pipeline_base.py | 2855 | priority_queue.push("comp2", ComponentPriority.BLOCKED) | CODE |
| HIGH | test/core/pipeline/features/conftest.py | 164 | assert actual_value.equals(expected_value) | CODE |
| HIGH⚡ | test/components/query/test_query_expander.py | 222 | @pytest.mark.parametrize("response", ['{"queries": ["", 123, null]}', '{"queries": []}']) | CODE |
| HIGH | haystack/core/pipeline/breakpoint.py | 286 | "key": [{"sender": null, "value": "some value"}] -> "key": "some value" | STRING |
| HIGH | haystack/core/pipeline/base.py | 1409 | priority_queue.push(component_name, priority) | CODE |
| HIGH⚡ | haystack/dataclasses/chat_message.py | 29 | A dict is returned as is, a missing, null, or empty value becomes `{}`, and anything else is parsed as a | STRING |
| HIGH | haystack/dataclasses/chat_message.py | 975 | # empty string, null, or omit `arguments` entirely; treat all as {}. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/hooks/tool_result_offloading/test_hooks.py | 127 | # The base64 payload is what occupies the context window, so a threshold below it must trigger an offload | COMMENT |
| MEDIUM | e2e/pipelines/test_evaluation_pipeline.py | 208 | # running the RAG pipeline A + evaluation pipeline | COMMENT |
| MEDIUM | e2e/pipelines/test_evaluation_pipeline.py | 255 | # running the RAG pipeline B | COMMENT |
| MEDIUM | …sioned_docs/version-2.22/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.22/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.22/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …d_docs/version-2.22/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …sioned_docs/version-2.25/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.25/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.25/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …d_docs/version-2.25/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …rsioned_docs/version-3.3/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …rsioned_docs/version-3.3/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …rsioned_docs/version-3.3/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …ed_docs/version-3.3/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …sioned_docs/version-2.24/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.24/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.24/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …d_docs/version-2.24/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …sioned_docs/version-2.23/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.23/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.23/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …d_docs/version-2.23/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …rsioned_docs/version-3.2/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …rsioned_docs/version-3.2/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …rsioned_docs/version-3.2/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …ed_docs/version-3.2/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …sioned_docs/version-2.30/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.30/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.30/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …d_docs/version-2.30/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …sioned_docs/version-2.31/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.31/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.31/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …d_docs/version-2.31/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …rsioned_docs/version-3.0/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …rsioned_docs/version-3.0/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …rsioned_docs/version-3.0/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …ed_docs/version-3.0/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …sioned_docs/version-2.28/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.28/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.28/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …d_docs/version-2.28/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …sioned_docs/version-2.26/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.26/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.26/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …d_docs/version-2.26/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …sioned_docs/version-2.19/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.19/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.19/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …d_docs/version-2.19/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …sioned_docs/version-2.21/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.21/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …sioned_docs/version-2.21/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …d_docs/version-2.21/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …rsioned_docs/version-3.1/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …rsioned_docs/version-3.1/integrations-api/anthropic.md | 397 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …rsioned_docs/version-3.1/integrations-api/anthropic.md | 577 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | …ed_docs/version-3.1/integrations-api/amazon_bedrock.md | 1081 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …sioned_docs/version-2.20/integrations-api/anthropic.md | 137 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/tools/test_searchable_toolset.py | 866 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW⚡ | test/tools/test_searchable_toolset.py | 914 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/tools/test_searchable_toolset.py | 524 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/routers/test_document_type_router.py | 288 | "author": "John Doe", | CODE |
| LOW⚡ | test/components/routers/test_document_type_router.py | 299 | assert classified_doc.meta["author"] == "John Doe" | CODE |
| LOW⚡ | …/components/preprocessors/test_python_code_splitter.py | 143 | doc = Document(content="placeholder") | CODE |
| LOW⚡ | test/components/preprocessors/test_document_cleaner.py | 134 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | test/components/preprocessors/test_document_cleaner.py | 134 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | test/components/preprocessors/test_document_cleaner.py | 152 | Lorem ipsum dolor sit amet 3 | CODE |
| LOW⚡ | test/components/preprocessors/test_document_cleaner.py | 152 | Lorem ipsum dolor sit amet 3 | CODE |
| LOW⚡ | test/components/agents/test_agent.py | 310 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW⚡ | test/components/agents/test_agent.py | 519 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW⚡ | test/components/agents/test_agent.py | 528 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW⚡ | test/components/agents/test_agent.py | 731 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW⚡ | test/components/agents/test_agent.py | 1223 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW⚡ | test/components/agents/test_agent.py | 2024 | function=lambda: "placeholder", | CODE |
| LOW⚡ | test/components/agents/test_agent.py | 2027 | id="placeholder", | CODE |
| LOW | test/components/agents/test_agent.py | 239 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 399 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 483 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 498 | monkeypatch.setenv("FAKE_OPENAI_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 1265 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 2065 | function=lambda: "placeholder", | CODE |
| LOW | test/components/agents/test_agent_hooks.py | 728 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW⚡ | test/components/evaluators/test_sas_evaluator.py | 13 | monkeypatch.setenv("HF_API_TOKEN", "fake-token") | CODE |
| LOW⚡ | test/components/evaluators/test_sas_evaluator.py | 19 | assert evaluator._token.resolve_value() == "fake-token" | CODE |
| LOW⚡ | test/components/evaluators/test_sas_evaluator.py | 22 | monkeypatch.setenv("HF_API_TOKEN", "fake-token") | CODE |
| LOW | test/components/evaluators/test_sas_evaluator.py | 38 | monkeypatch.setenv("HF_API_TOKEN", "fake-token") | CODE |
| LOW⚡ | test/components/evaluators/test_sas_evaluator.py | 55 | assert evaluator._token.resolve_value() == "fake-token" | CODE |
| LOW⚡ | test/components/generators/chat/test_llm.py | 149 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/generators/chat/test_llm.py | 176 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/generators/chat/test_llm.py | 193 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/generators/chat/test_llm.py | 229 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | …xtractors/image/test_llm_document_content_extractor.py | 473 | {"title": "Example Document", "author": "John Doe", "date": "2024-01-15", "document_type": "invoice"} | CODE |
| LOW | test/dataclasses/test_document.py | 71 | {"content_type": "text", "id_hash_keys": ["content"], "dataframe": "placeholder"}, | CODE |
| LOW | …/version-2.22/integrations-api/microsoft_sharepoint.md | 273 | operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, or | CODE |
| LOW | …/version-2.22/integrations-api/microsoft_sharepoint.md | 303 | operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, or | CODE |
| LOW | …ioned_docs/version-2.22/integrations-api/opensearch.md | 625 | meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"} | CODE |
| LOW | …ioned_docs/version-2.22/integrations-api/opensearch.md | 633 | meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"} | CODE |
| LOW | …ed_docs/version-2.22/integrations-api/mongodb_atlas.md | 182 | results = retriever.run(query="Lorem ipsum") | CODE |
| LOW | …ed_docs/version-2.22/integrations-api/mongodb_atlas.md | 186 | The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the | CODE |
| LOW | …/version-2.25/integrations-api/microsoft_sharepoint.md | 273 | operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, or | CODE |
| LOW | …/version-2.25/integrations-api/microsoft_sharepoint.md | 303 | operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, or | CODE |
| LOW | …ioned_docs/version-2.25/integrations-api/opensearch.md | 625 | meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"} | CODE |
| LOW | …ioned_docs/version-2.25/integrations-api/opensearch.md | 633 | meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"} | CODE |
| LOW | …ed_docs/version-2.25/integrations-api/mongodb_atlas.md | 182 | results = retriever.run(query="Lorem ipsum") | CODE |
| LOW | …ed_docs/version-2.25/integrations-api/mongodb_atlas.md | 186 | The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the | CODE |
| LOW | …s/version-3.3/integrations-api/microsoft_sharepoint.md | 273 | operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, or | CODE |
| LOW | …s/version-3.3/integrations-api/microsoft_sharepoint.md | 303 | operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, or | CODE |
| LOW | …sioned_docs/version-3.3/integrations-api/opensearch.md | 625 | meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"} | CODE |
| LOW | …sioned_docs/version-3.3/integrations-api/opensearch.md | 633 | meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"} | CODE |
| LOW | …ned_docs/version-3.3/integrations-api/mongodb_atlas.md | 182 | results = retriever.run(query="Lorem ipsum") | CODE |
| LOW | …ned_docs/version-3.3/integrations-api/mongodb_atlas.md | 186 | The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the | CODE |
| LOW | …/version-2.24/integrations-api/microsoft_sharepoint.md | 273 | operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, or | CODE |
| LOW | …/version-2.24/integrations-api/microsoft_sharepoint.md | 303 | operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, or | CODE |
| LOW | …ioned_docs/version-2.24/integrations-api/opensearch.md | 625 | meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"} | CODE |
| LOW | …ioned_docs/version-2.24/integrations-api/opensearch.md | 633 | meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"} | CODE |
| LOW | …ed_docs/version-2.24/integrations-api/mongodb_atlas.md | 182 | results = retriever.run(query="Lorem ipsum") | CODE |
| LOW | …ed_docs/version-2.24/integrations-api/mongodb_atlas.md | 186 | The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the | CODE |
| LOW | …/version-2.23/integrations-api/microsoft_sharepoint.md | 273 | operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, or | CODE |
| 89 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/document_stores/test_in_memory.py | 797 | # Create a mix of concurrent operations | COMMENT |
| MEDIUM | test/tools/test_pipeline_tool.py | 253 | # Create an Agent with the tool | COMMENT |
| MEDIUM | test/tools/test_pipeline_tool.py | 298 | # Create an Agent with the tool | COMMENT |
| MEDIUM⚡ | test/tools/test_component_tool.py | 834 | # Create a pipeline and add the component to it | COMMENT |
| MEDIUM | test/tools/test_component_tool.py | 377 | # Create a pipeline with the annotated component | COMMENT |
| MEDIUM | test/tools/test_component_tool.py | 443 | # Create a pipeline with both components | COMMENT |
| MEDIUM | test/tools/test_component_tool.py | 774 | # Create the component and tool | COMMENT |
| MEDIUM⚡ | test/core/pipeline/test_pipeline_base.py | 1720 | # Create a cycle between comp2 and comp3. Entry point is comp1 -> comp2 | COMMENT |
| MEDIUM | …breakpoints/test_pipeline_breakpoints_branch_joiner.py | 59 | # Create a Breakpoint on-the-fly using the shared output directory | COMMENT |
| MEDIUM | …breakpoints/test_pipeline_breakpoints_string_joiner.py | 48 | # Create a Breakpoint on-the-fly using the shared output directory | COMMENT |
| MEDIUM | …breakpoints/test_pipeline_breakpoints_answer_joiner.py | 55 | # Create a Breakpoint on-the-fly using the shared output directory | COMMENT |
| MEDIUM | …e/breakpoints/test_pipeline_breakpoints_list_joiner.py | 60 | # Create a Breakpoint on-the-fly using the shared output directory | STRING |
| MEDIUM⚡ | …ipeline/breakpoints/test_pipeline_breakpoints_loops.py | 122 | # Create a Breakpoint on-the-fly using the shared output directory | COMMENT |
| MEDIUM | …ne/breakpoints/test_pipeline_breakpoints_rag_hybrid.py | 112 | # Create a Breakpoint on-the-fly using the shared output directory | COMMENT |
| MEDIUM | …st/components/preprocessors/test_recursive_splitter.py | 1245 | # Create a complex text with multiple separators and chunks of different sizes | COMMENT |
| MEDIUM | …reprocessors/test_embedding_based_document_splitter.py | 719 | # Create a very long text with multiple paragraphs and topics | COMMENT |
| MEDIUM | …reprocessors/test_embedding_based_document_splitter.py | 807 | # Create a very long text with multiple paragraphs and topics | COMMENT |
| MEDIUM | …onents/retrievers/test_auto_merging_retriever_async.py | 84 | # Create a leaf document that points to this parent | COMMENT |
| MEDIUM | …t/components/retrievers/test_auto_merging_retriever.py | 155 | # Create a leaf document that points to this parent | COMMENT |
| MEDIUM | test/components/converters/image/test_pdf_to_image.py | 101 | # Create an empty ByteStream object | COMMENT |
| MEDIUM | test/components/converters/image/test_file_to_image.py | 108 | # Create an empty ByteStream object | COMMENT |
| MEDIUM | …/components/embedders/test_openai_document_embedder.py | 241 | # Create a successful response for the second call | COMMENT |
| MEDIUM | test/components/generators/conftest.py | 405 | # Create a custom stream that yields both events sequentially | COMMENT |
| MEDIUM⚡ | haystack/tools/component_tool.py | 70 | # Create a SerperDev search component | STRING |
| MEDIUM⚡ | haystack/tools/component_tool.py | 73 | # Create a tool from the component | STRING |
| MEDIUM⚡ | haystack/tools/component_tool.py | 80 | # Create an Agent with an OpenAIResponsesChatGenerator and the tool | STRING |
| MEDIUM | haystack/tools/component_tool.py | 179 | # Create the tools schema from the component run method parameters | COMMENT |
| MEDIUM | haystack/tools/component_tool.py | 240 | # Create the Tool instance with the component invoker as the function to be called and the schema. | COMMENT |
| MEDIUM | haystack/tools/pipeline_tool.py | 76 | # Create an Agent with the tool | STRING |
| MEDIUM | haystack/tools/toolset.py | 42 | # Create a toolset with the math tools | STRING |
| MEDIUM | haystack/core/pipeline/pipeline.py | 491 | # Create a snapshot of the state of the pipeline before the error occurred. | COMMENT |
| MEDIUM⚡ | haystack/core/pipeline/base.py | 261 | # Create a new one | COMMENT |
| MEDIUM | haystack/core/pipeline/base.py | 781 | # Create the new connection | COMMENT |
| MEDIUM | haystack/core/pipeline/base.py | 1552 | # Create a list of all components that have the same priority as the current component, including the | COMMENT |
| MEDIUM | haystack/core/component/component.py | 262 | # Create the sockets if set_input_types() wasn't called in the constructor. | COMMENT |
| MEDIUM | haystack/core/super_component/super_component.py | 460 | # Create a super component with simplified input/output mapping | STRING |
| MEDIUM | haystack/core/super_component/super_component.py | 592 | # Create a new __init__ method that will initialize both the original class and SuperComponent | COMMENT |
| MEDIUM | haystack/core/super_component/super_component.py | 627 | # Create a new class inheriting from SuperComponent with the original methods | COMMENT |
| MEDIUM | haystack/utils/http_client.py | 37 | # Create a copy to avoid modifying the original dict | COMMENT |
| MEDIUM | haystack/components/routers/conditional_router.py | 272 | # Create a Jinja environment to inspect variables in the condition templates | COMMENT |
| MEDIUM | …nts/preprocessors/embedding_based_document_splitter.py | 45 | # Create a document with content that has a clear topic shift | STRING |
| MEDIUM | …nts/preprocessors/embedding_based_document_splitter.py | 257 | # Create an initial split of the document content into smaller chunks | COMMENT |
| MEDIUM | …nts/preprocessors/embedding_based_document_splitter.py | 274 | # Create an initial split of the document content into smaller chunks | COMMENT |
| MEDIUM⚡ | haystack/components/fetchers/link_content.py | 409 | # Create an empty ByteStream for failed requests when raise_on_failure is False | COMMENT |
| MEDIUM | haystack/components/joiners/branch.py | 41 | # Define a schema for validation | STRING |
| MEDIUM | haystack/hooks/human_in_the_loop/strategies.py | 569 | # Create a lookup for decisions that don't have a tool_call_id. We use tool name instead. | COMMENT |
| MEDIUM | haystack/telemetry/_telemetry.py | 80 | # Create the config file | COMMENT |
| MEDIUM | .github/workflows/branch_off.yml | 51 | # Create the release branch from main | COMMENT |
| MEDIUM⚡ | …senotes/notes/add-component-tool-ffe9f9911ea055a6.yaml | 24 | # Create a SerperDev search component | COMMENT |
| MEDIUM⚡ | …senotes/notes/add-component-tool-ffe9f9911ea055a6.yaml | 30 | # Create a tool from the component | COMMENT |
| MEDIUM | …es/notes/add-tool-search-toolset-ca7c9c04f9e4b7cf.yaml | 21 | # Create a catalog of tools | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/tracing/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/tools/skills/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/marshal/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/core/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/core/pipeline/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/core/pipeline/test_pipeline_base.py | 2921 | # Mimicking the user providing "route1" as input to the pipeline.run | COMMENT |
| LOW | test/token_counters/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/routers/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/preprocessors/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/retrievers/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/fetchers/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/writers/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/builders/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/joiners/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/converters/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/converters/image/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/agents/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/evaluators/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/embedders/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/samplers/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/generators/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/generators/chat/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/rankers/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/query/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/extractors/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/components/extractors/image/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/hooks/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/hooks/human_in_the_loop/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/hooks/compaction/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/hooks/tool_result_offloading/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/hooks/budget/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/skill_stores/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/skill_stores/file_system/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | test/evaluation/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | haystack/document_stores/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | haystack/tools/from_function.py | 41 | '''A simple function to get the current weather for a location.''' | COMMENT |
| LOW | haystack/tools/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | haystack/core/component/component.py | 161 | COMMENT | |
| LOW | haystack/utils/callable_serialization.py | 141 | COMMENT | |
| LOW | haystack/testing/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | haystack/components/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | haystack/components/routers/llm_messages_router.py | 41 | output_patterns=["unsafe", "safe"]) | COMMENT |
| LOW | …k/components/preprocessors/markdown_header_splitter.py | 81 | self._header_pattern = re.compile(r"(?m)^(#{1,6}) (.+)$") # ATX-style .md-headers | COMMENT |
| LOW | …ack/components/retrievers/sentence_window_retriever.py | 61 | rag.connect("bm25_retriever", "sentence_window_retriever") | COMMENT |
| LOW | haystack/components/agents/state/state_utils.py | 21 | COMMENT | |
| LOW | haystack/components/evaluators/context_relevance.py | 81 | print(result["score"]) | COMMENT |
| LOW | …stack/components/rankers/meta_field_grouping_ranker.py | 41 | COMMENT | |
| LOW | haystack/skill_stores/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | .github/workflows/cla_draft_gate.yml | 1 | name: CLA draft gate | COMMENT |
| LOW | .github/workflows/cla_draft_gate.yml | 21 | # assignee). The scheduled sweep doubles as a backstop in case a status event | COMMENT |
| LOW | .github/workflows/promote_unstable_docs.yml | 61 | # This workflow is triggered by a tag pushed by the HaystackBot in release.yml > create-release-tag. | COMMENT |
| LOW | .github/workflows/cflite_pr.yml | 1 | name: ClusterFuzzLite PR fuzzing | COMMENT |
| LOW | .github/workflows/first_pr_limit.yml | 1 | name: First-time contributor PR limit | COMMENT |
| LOW | .github/workflows/scorecard.yml | 1 | # OpenSSF Scorecard | COMMENT |
| LOW | .github/utils/parse_validate_version.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .github/utils/wait_for_workflows.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .github/utils/wait_for_platform_pr.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .github/utils/prepare_release_notification.sh | 1 | #!/bin/bash | COMMENT |
| LOW | e2e/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| 86 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/tracing/utils.py | 25 | def set_tag(self, key: str, value: Any) -> None: | CODE |
| LOW⚡ | test/tracing/utils.py | 31 | def set_content_tag(self, key: str, value: Any) -> None: | CODE |
| LOW | test/tracing/utils.py | 91 | def set_tag(self, key: str, value: Any) -> None: | CODE |
| LOW | haystack/__init__.py | 27 | __all__ = [ | CODE |
| LOW | haystack/tracing/utils.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/tracing/tracer.py | 18 | def set_tag(self, key: str, value: Any) -> None: | CODE |
| LOW | haystack/tracing/tracer.py | 30 | def set_tags(self, tags: dict[str, Any]) -> None: | CODE |
| LOW | haystack/tracing/tracer.py | 49 | def set_content_tag(self, key: str, value: Any) -> None: | CODE |
| LOW | haystack/tracing/tracer.py | 136 | def set_tag(self, key: str, value: Any) -> None: | CODE |
| LOW | haystack/tracing/logging_tracer.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/tracing/logging_tracer.py | 25 | def set_tag(self, key: str, value: Any) -> None: | CODE |
| LOW | haystack/document_stores/types/__init__.py | 9 | __all__ = ["apply_filter_policy", "DocumentStore", "DuplicatePolicy", "FilterPolicy"] | CODE |
| LOW | haystack/document_stores/types/filter_policy.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/document_stores/in_memory/document_store.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/document_stores/errors/__init__.py | 7 | __all__ = ["DocumentStoreError", "DuplicateDocumentError", "MissingDocumentError"] | CODE |
| LOW | haystack/tools/tool_types.py | 18 | __all__ = ["ToolsType"] | CODE |
| LOW | haystack/tools/component_tool.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/tools/pipeline_tool.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/tools/parameters_schema_utils.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/tools/skills/__init__.py | 7 | __all__ = ["SkillToolset"] | CODE |
| LOW | haystack/core/__init__.py | 7 | __all__ = ["SuperComponent"] | CODE |
| LOW | haystack/core/serialization_security.py | 105 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/core/pipeline/__init__.py | 7 | __all__ = ["Pipeline"] | CODE |
| LOW | haystack/core/pipeline/utils.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/core/pipeline/pipeline.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/core/pipeline/breakpoint.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/core/pipeline/draw.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/core/pipeline/base.py | 69 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/core/component/__init__.py | 8 | __all__ = ["component", "Component", "InputSocket", "OutputSocket"] | CODE |
| LOW | haystack/core/component/component.py | 92 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/core/component/component.py | 440 | def set_input_types(self, instance: Any, **types: type[Any]) -> None: | CODE |
| LOW | haystack/core/component/component.py | 490 | def set_output_types(self, instance: Any, **types: type[Any]) -> None: | CODE |
| LOW | haystack/core/super_component/__init__.py | 7 | __all__ = ["SuperComponent", "super_component"] | CODE |
| LOW | haystack/core/super_component/super_component.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/utils/misc.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/utils/base_serialization.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | haystack/utils/async_utils.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/utils/jinja2_chat_extension.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/utils/requests_utils.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/utils/type_serialization.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/utils/callable_serialization.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/utils/hf.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/token_counters/types/__init__.py | 7 | __all__ = ["TokenCounter"] | CODE |
| LOW | haystack/testing/test_utils.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/testing/test_utils.py | 13 | def set_all_seeds(seed: int, deterministic_cudnn: bool = False) -> None: | CODE |
| LOW | haystack/testing/sample_components/__init__.py | 22 | __all__ = [ | CODE |
| LOW | haystack/components/routers/file_type_router.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/components/routers/conditional_router.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/components/preprocessors/sentence_tokenizer.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …k/components/preprocessors/markdown_header_splitter.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …stack/components/preprocessors/csv_document_cleaner.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/components/preprocessors/document_splitter.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …tack/components/preprocessors/csv_document_splitter.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …stack/components/preprocessors/python_code_splitter.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/components/preprocessors/document_cleaner.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nts/preprocessors/embedding_based_document_splitter.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/components/preprocessors/recursive_splitter.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ack/components/retrievers/sentence_window_retriever.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/components/retrievers/types/__init__.py | 7 | __all__ = ["TextRetriever", "EmbeddingRetriever"] | CODE |
| LOW | haystack/components/fetchers/link_content.py | 25 | logger = logging.getLogger(__name__) | CODE |
| 63 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/tracing/test_logging_tracer.py | 184 | except Exception: | CODE |
| LOW | test/core/pipeline/features/conftest.py | 90 | except Exception as e: | CODE |
| LOW | test/core/pipeline/features/conftest.py | 125 | except Exception as e: | CODE |
| LOW | …st/components/generators/chat/test_openai_responses.py | 85 | except Exception as e: | CODE |
| LOW | haystack/tracing/utils.py | 35 | except Exception as error: | CODE |
| LOW | haystack/tracing/logging_tracer.py | 78 | except Exception as e: # noqa: TRY203 | CODE |
| LOW | haystack/document_stores/in_memory/document_store.py | 468 | except Exception as e: | CODE |
| LOW | haystack/tools/from_function.py | 173 | except Exception as e: | CODE |
| LOW | haystack/tools/component_tool.py | 381 | except Exception as e: | CODE |
| LOW | haystack/tools/parameters_schema_utils.py | 148 | except Exception as e: | CODE |
| LOW | haystack/tools/tool.py | 292 | except Exception as e: | CODE |
| LOW | haystack/tools/tool.py | 317 | except Exception as e: | CODE |
| LOW | haystack/core/type_utils.py | 61 | except Exception: | CODE |
| LOW | haystack/core/pipeline/utils.py | 54 | except Exception as e: | CODE |
| LOW | haystack/core/pipeline/pipeline.py | 184 | except Exception as error: | CODE |
| LOW | haystack/core/pipeline/pipeline.py | 598 | except Exception as error: | CODE |
| LOW | haystack/core/pipeline/pipeline.py | 636 | except Exception: | CODE |
| LOW | haystack/core/pipeline/breakpoint.py | 183 | except Exception as error: | CODE |
| LOW | haystack/core/pipeline/breakpoint.py | 217 | except Exception as error: | CODE |
| LOW | haystack/core/pipeline/draw.py | 326 | except Exception as exc: | STRING |
| LOW⚡ | haystack/core/pipeline/base.py | 266 | except Exception as e: | CODE |
| LOW⚡ | haystack/core/pipeline/base.py | 270 | except Exception: | CODE |
| LOW | haystack/core/pipeline/base.py | 351 | except Exception as e: | CODE |
| LOW | haystack/core/pipeline/base.py | 1685 | except Exception as e: | CODE |
| LOW | haystack/utils/misc.py | 132 | except Exception: | CODE |
| LOW | haystack/utils/base_serialization.py | 145 | except Exception as error: | CODE |
| LOW | haystack/utils/base_serialization.py | 160 | except Exception as field_error: | CODE |
| LOW | haystack/utils/base_serialization.py | 318 | except Exception as e: | CODE |
| LOW | haystack/utils/base_serialization.py | 327 | except Exception as e: | CODE |
| LOW⚡ | haystack/utils/async_utils.py | 25 | except Exception: | CODE |
| LOW | haystack/utils/jinja2_extensions.py | 51 | except Exception as e: | CODE |
| LOW | haystack/utils/callable_serialization.py | 103 | except Exception: | CODE |
| LOW | haystack/components/routers/file_type_router.py | 197 | except Exception as e: | CODE |
| LOW | haystack/components/routers/conditional_router.py | 480 | except Exception as e: | CODE |
| LOW | …stack/components/preprocessors/csv_document_cleaner.py | 84 | except Exception as e: | CODE |
| LOW | …tack/components/preprocessors/csv_document_splitter.py | 112 | except Exception as e: | CODE |
| LOW | …stack/components/preprocessors/python_code_splitter.py | 171 | except Exception: # pragma: no cover - defensive guard | CODE |
| LOW | haystack/components/retrievers/multi_retriever.py | 282 | except Exception as e: | CODE |
| LOW | haystack/components/retrievers/multi_retriever.py | 351 | except Exception as e: | CODE |
| LOW | haystack/components/fetchers/link_content.py | 377 | except Exception as e: | CODE |
| LOW⚡ | haystack/components/fetchers/link_content.py | 405 | except Exception as e: | CODE |
| LOW | haystack/components/fetchers/link_content.py | 428 | except Exception as e: | CODE |
| LOW | haystack/components/converters/docx.py | 216 | except Exception as e: | CODE |
| LOW | haystack/components/converters/docx.py | 223 | except Exception as e: | CODE |
| LOW | haystack/components/converters/file_to_file_content.py | 76 | except Exception as e: | CODE |
| LOW | haystack/components/converters/pdfminer.py | 225 | except Exception: | CODE |
| LOW | haystack/components/converters/pdfminer.py | 287 | except Exception as e: | CODE |
| LOW | haystack/components/converters/pdfminer.py | 293 | except Exception as e: | CODE |
| LOW | haystack/components/converters/html.py | 122 | except Exception as e: | CODE |
| LOW | haystack/components/converters/html.py | 134 | except Exception as conversion_e: | CODE |
| LOW | haystack/components/converters/txt.py | 82 | except Exception as e: | CODE |
| LOW | haystack/components/converters/txt.py | 88 | except Exception as e: | CODE |
| LOW | haystack/components/converters/markdown.py | 120 | except Exception as e: | CODE |
| LOW | haystack/components/converters/markdown.py | 128 | except Exception as conversion_e: | CODE |
| LOW | haystack/components/converters/output_adapter.py | 148 | except Exception as e: | CODE |
| LOW | haystack/components/converters/pypdf.py | 207 | except Exception: | CODE |
| LOW | haystack/components/converters/pypdf.py | 209 | except Exception: | CODE |
| LOW | haystack/components/converters/pypdf.py | 261 | except Exception as e: | CODE |
| LOW | haystack/components/converters/pypdf.py | 267 | except Exception as e: | CODE |
| LOW | haystack/components/converters/csv.py | 120 | except Exception as e: | CODE |
| 44 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/tracing/test_logging_tracer.py | 184 | except Exception: | CODE |
| HIGH | …breakpoints/test_pipeline_breakpoints_branch_joiner.py | 64 | except BreakpointException: | CODE |
| HIGH | …breakpoints/test_pipeline_breakpoints_string_joiner.py | 53 | except BreakpointException: | CODE |
| HIGH | …breakpoints/test_pipeline_breakpoints_answer_joiner.py | 60 | except BreakpointException: | CODE |
| HIGH | …e/breakpoints/test_pipeline_breakpoints_list_joiner.py | 65 | except BreakpointException: | CODE |
| HIGH | …ipeline/breakpoints/test_pipeline_breakpoints_loops.py | 127 | except BreakpointException: | CODE |
| HIGH | …ne/breakpoints/test_pipeline_breakpoints_rag_hybrid.py | 117 | except BreakpointException: | CODE |
| HIGH | test/fuzz/fuzz_pipeline_loads.py | 35 | except _EXPECTED + _KNOWN_BUGS: | CODE |
| HIGH | test/fuzz/fuzz_document_from_dict.py | 32 | except _EXPECTED: | CODE |
| HIGH | test/fuzz/fuzz_filters.py | 37 | except _EXPECTED: | CODE |
| HIGH | haystack/logging.py | 251 | except ImportError: | CODE |
| HIGH | haystack/tools/tool.py | 242 | except (ValueError, TypeError): | CODE |
| HIGH | haystack/core/type_utils.py | 157 | except TypeError: # typing classes can't be used with issubclass, so we deal with them below | CODE |
| HIGH | haystack/core/component/sockets.py | 131 | except AttributeError: | CODE |
| HIGH | haystack/utils/jupyter.py | 18 | except NameError: | CODE |
| HIGH | haystack/components/converters/csv.py | 162 | except Exception: | CODE |
| HIGH | haystack/hooks/invocation.py | 32 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | haystack/document_stores/in_memory/document_store.py | 704 | CODE | |
| LOW | haystack/tools/from_function.py | 356 | CODE | |
| LOW | haystack/tools/utils.py | 40 | CODE | |
| LOW | haystack/tools/utils.py | 74 | CODE | |
| LOW | haystack/tools/utils.py | 92 | CODE | |
| LOW | haystack/tools/parameters_schema_utils.py | 118 | CODE | |
| LOW | haystack/tools/tool.py | 112 | CODE | |
| LOW | haystack/core/serialization.py | 43 | CODE | |
| LOW | haystack/core/serialization.py | 257 | CODE | |
| LOW | haystack/core/pipeline/pipeline.py | 200 | CODE | |
| LOW | haystack/core/pipeline/pipeline.py | 807 | CODE | |
| LOW | haystack/core/pipeline/draw.py | 181 | CODE | |
| LOW | haystack/core/pipeline/base.py | 216 | CODE | |
| LOW | haystack/core/pipeline/base.py | 1221 | CODE | |
| LOW | haystack/core/pipeline/base.py | 1334 | CODE | |
| LOW | haystack/core/pipeline/base.py | 1787 | CODE | |
| LOW | haystack/core/super_component/super_component.py | 217 | CODE | |
| LOW | haystack/utils/misc.py | 33 | CODE | |
| LOW | haystack/utils/device.py | 219 | CODE | |
| LOW | haystack/utils/jinja2_extensions.py | 98 | CODE | |
| LOW | haystack/utils/hf.py | 54 | CODE | |
| LOW | haystack/testing/sample_components/concatenate.py | 15 | CODE | |
| LOW | haystack/components/routers/file_type_router.py | 149 | CODE | |
| LOW | haystack/components/routers/document_type_router.py | 118 | CODE | |
| LOW | haystack/components/routers/conditional_router.py | 404 | CODE | |
| LOW | haystack/components/routers/conditional_router.py | 489 | CODE | |
| LOW | …k/components/preprocessors/markdown_header_splitter.py | 125 | CODE | |
| LOW | …k/components/preprocessors/markdown_header_splitter.py | 268 | CODE | |
| LOW | …tack/components/preprocessors/csv_document_splitter.py | 75 | CODE | |
| LOW | …stack/components/preprocessors/python_code_splitter.py | 566 | CODE | |
| LOW | haystack/components/preprocessors/recursive_splitter.py | 169 | CODE | |
| LOW | haystack/components/preprocessors/recursive_splitter.py | 340 | CODE | |
| LOW | haystack/components/preprocessors/recursive_splitter.py | 432 | CODE | |
| LOW | haystack/components/builders/chat_prompt_builder.py | 131 | CODE | |
| LOW | haystack/components/builders/chat_prompt_builder.py | 205 | CODE | |
| LOW | haystack/components/builders/answer_builder.py | 126 | CODE | |
| LOW | haystack/components/builders/answer_builder.py | 281 | CODE | |
| LOW | haystack/components/converters/docx.py | 274 | CODE | |
| LOW | haystack/components/converters/docx.py | 327 | CODE | |
| LOW | haystack/components/converters/pdfminer.py | 176 | CODE | |
| LOW | haystack/components/converters/pypdf.py | 174 | CODE | |
| LOW | haystack/components/converters/xlsx.py | 161 | CODE | |
| LOW | haystack/components/converters/json.py | 179 | CODE | |
| LOW | haystack/components/converters/pptx.py | 75 | CODE | |
| LOW | haystack/components/agents/agent.py | 124 | CODE | |
| LOW | haystack/components/agents/agent.py | 583 | CODE | |
| LOW | haystack/components/agents/tool_calling.py | 354 | CODE | |
| LOW | haystack/components/agents/tool_calling.py | 514 | CODE | |
| LOW | haystack/components/evaluators/llm_evaluator.py | 269 | CODE | |
| LOW | haystack/components/validators/json_schema.py | 226 | CODE | |
| LOW | haystack/components/generators/utils.py | 52 | CODE | |
| LOW | haystack/components/generators/utils.py | 117 | CODE | |
| LOW | haystack/components/generators/chat/openai_responses.py | 645 | CODE | |
| LOW | haystack/components/generators/chat/openai_responses.py | 713 | CODE | |
| LOW | haystack/components/generators/chat/openai_responses.py | 836 | CODE | |
| LOW | haystack/components/generators/chat/openai_responses.py | 939 | CODE | |
| LOW | haystack/components/generators/chat/openai_responses.py | 528 | CODE | |
| LOW | haystack/components/generators/chat/mock.py | 140 | CODE | |
| LOW | haystack/components/rankers/meta_field.py | 373 | CODE | |
| LOW | …stack/components/rankers/meta_field_grouping_ranker.py | 77 | CODE | |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | .github/workflows/cla_draft_gate.yml | 157 | const issues = result.repository.pullRequest.closingIssuesReferences.nodes.filter( | CODE |
| CRITICAL | .github/workflows/linked_issue_review.yml | 64 | let issues = result.repository.pullRequest.closingIssuesReferences.nodes.filter( | CODE |
| CRITICAL | .github/workflows/pr_flood_guard.yml | 73 | const linkedIssues = result.repository.pullRequest.closingIssuesReferences.nodes.filter( | CODE |
| CRITICAL | .github/workflows/handled_internally_pr_guard.yml | 74 | const internal = result.repository.pullRequest.closingIssuesReferences.nodes.filter( | CODE |
| CRITICAL | .github/workflows/priority_label_sync.yml | 135 | const prs = result.repository.issue.closedByPullRequestsReferences.nodes.filter( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | haystack/components/agents/utils.py | 20 | # --------------------------- | COMMENT |
| MEDIUM | haystack/components/agents/utils.py | 22 | # --------------------------- | COMMENT |
| MEDIUM | haystack/components/agents/utils.py | 88 | # --------------------------- | COMMENT |
| MEDIUM | haystack/components/agents/utils.py | 90 | # --------------------------- | COMMENT |
| MEDIUM | haystack/components/agents/utils.py | 179 | # --------------------------- | COMMENT |
| MEDIUM | haystack/components/agents/utils.py | 181 | # --------------------------- | COMMENT |
| MEDIUM⚡ | haystack/components/agents/utils.py | 233 | # --------------------------- | COMMENT |
| MEDIUM⚡ | haystack/components/agents/utils.py | 235 | # --------------------------- | COMMENT |
| MEDIUM | scripts/generate_platform_components_table.py | 130 | # ── Component type helpers ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate_platform_components_table.py | 150 | # ── Docs-site link map ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate_platform_components_table.py | 191 | # ── Source-scanning helpers ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate_platform_components_table.py | 245 | # ── Schema loading ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate_platform_components_table.py | 264 | # ── MDX generation ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate_platform_components_table.py | 329 | # ── Component doc page labeling ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/generate_platform_components_table.py | 411 | # ── Entry point ─────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | haystack/tools/serde_utils.py | 53 | # Check if it's a serialized Toolset (a dict with "type" and "data" keys) | COMMENT |
| LOW | haystack/tools/pipeline_tool.py | 85 | # Print result of the tool call | STRING |
| LOW | haystack/tools/parameters_schema_utils.py | 64 | # Check if it's a Callable type (direct or parameterized) | COMMENT |
| LOW | haystack/core/pipeline/breakpoint.py | 68 | # Check if the ordered_component_names are valid components in the pipeline | COMMENT |
| LOW | haystack/core/pipeline/breakpoint.py | 86 | # Check if the original_input_data is valid components in the pipeline | COMMENT |
| LOW | haystack/core/pipeline/breakpoint.py | 189 | # Check if snapshot saving is enabled via environment variable (disabled by default) | COMMENT |
| LOW | haystack/core/pipeline/base.py | 1161 | # Check if an input is provided more than once for non-variadic sockets | COMMENT |
| LOW | haystack/core/pipeline/component_checks.py | 106 | # Check if socket has all required inputs or is a lazy variadic socket with any input | COMMENT |
| LOW | haystack/core/super_component/utils.py | 126 | # Check if all arguments are compatible | COMMENT |
| LOW | haystack/utils/jinja2_extensions.py | 81 | # Check if a custom datetime format is provided after a comma | COMMENT |
| LOW | haystack/components/routers/conditional_router.py | 566 | # Check if template_text is a string before attempting to parse | COMMENT |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 268 | # Check if there are consecutive rows >= row_split_threshold now present | COMMENT |
| LOW | haystack/components/agents/tool_calling.py | 426 | # Check if State is in func_params | COMMENT |
| LOW | haystack/components/agents/state/state.py | 77 | # Check if the list contains ChatMessage elements | COMMENT |
| LOW | haystack/components/samplers/top_p.py | 105 | # Check if the cumulative probabilities are close to top_p with a 1e-6 tolerance | COMMENT |
| LOW | haystack/components/query/query_expander.py | 141 | # Check if required variables are present in the template | COMMENT |
| LOW | haystack/components/extractors/regex_text_extractor.py | 52 | # Check if the pattern has at least one capture group | COMMENT |
| LOW | haystack/hooks/human_in_the_loop/strategies.py | 96 | # Check if we should ask based on policy | COMMENT |
| LOW | .github/workflows/release_notes.yml | 47 | # Check if any of the commit messages contain tags ci/docs/test | COMMENT |
| LOW | .github/utils/create_unstable_docs_docusaurus.py | 46 | # Check if the versions we're about to create already exist in versioned_docs | COMMENT |
| LOW⚡ | docs-website/scripts/setup-dev.sh | 13 | # Check if we're in the right directory | COMMENT |
| LOW⚡ | docs-website/scripts/setup-dev.sh | 19 | # Check if Python is available | COMMENT |
| LOW⚡ | docs-website/scripts/setup-dev.sh | 28 | # Check if base dependencies are installed | COMMENT |
| LOW | docs-website/scripts/setup-dev.sh | 42 | # Check if requirements.txt was generated | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | haystack/tools/from_function.py | 32 | ### Usage example | STRING |
| LOW⚡ | haystack/tools/from_function.py | 243 | ### Usage example | STRING |
| LOW | haystack/tools/skills/skill_toolset.py | 31 | ### Usage example | STRING |
| LOW | haystack/core/super_component/super_component.py | 420 | ### Usage example | STRING |
| LOW | haystack/utils/experimental.py | 19 | ## Usage example | STRING |
| LOW | haystack/components/routers/document_length_router.py | 19 | ### Usage example | STRING |
| LOW | haystack/components/routers/llm_messages_router.py | 26 | ### Usage example | STRING |
| LOW | haystack/components/routers/file_type_router.py | 37 | ### Usage example | STRING |
| LOW | haystack/components/routers/document_type_router.py | 26 | ### Usage example | STRING |
| LOW | haystack/components/routers/conditional_router.py | 58 | ### Usage example | STRING |
| LOW | haystack/components/preprocessors/document_splitter.py | 47 | ### Usage example | STRING |
| LOW | …onents/preprocessors/hierarchical_document_splitter.py | 21 | ## Usage example | STRING |
| LOW | haystack/components/preprocessors/text_cleaner.py | 21 | ### Usage example | STRING |
| LOW | haystack/components/preprocessors/document_cleaner.py | 27 | ### Usage example: | STRING |
| LOW | …nts/preprocessors/embedding_based_document_splitter.py | 38 | ### Usage example | STRING |
| LOW | haystack/components/retrievers/multi_retriever.py | 34 | ### Usage example | STRING |
| LOW | …ack/components/retrievers/sentence_window_retriever.py | 38 | ### Usage example | STRING |
| LOW | …ck/components/retrievers/multi_query_text_retriever.py | 27 | ### Usage example | STRING |
| LOW | …tack/components/retrievers/text_embedding_retriever.py | 23 | ### Usage example | STRING |
| LOW | haystack/components/retrievers/filter_retriever.py | 16 | ### Usage example | STRING |
| LOW | …mponents/retrievers/multi_query_embedding_retriever.py | 26 | ### Usage example | STRING |
| LOW | …components/retrievers/in_memory/embedding_retriever.py | 23 | ### Usage example | STRING |
| LOW | …tack/components/retrievers/in_memory/bm25_retriever.py | 19 | ### Usage example | STRING |
| LOW | haystack/components/fetchers/link_content.py | 87 | ### Usage example | STRING |
| LOW | haystack/components/writers/document_writer.py | 16 | ### Usage example | STRING |
| LOW | haystack/components/builders/answer_builder.py | 28 | ### Usage example | STRING |
| LOW | haystack/components/joiners/string_joiner.py | 15 | ### Usage example | STRING |
| LOW | haystack/components/joiners/answer_joiner.py | 52 | ### Usage example | STRING |
| LOW | haystack/components/joiners/document_joiner.py | 56 | ### Usage example: | STRING |
| LOW | haystack/components/converters/file_to_file_content.py | 24 | ### Usage example | STRING |
| LOW | haystack/components/converters/txt.py | 26 | ### Usage example | STRING |
| LOW | haystack/components/converters/pypdf.py | 58 | ### Usage example | STRING |
| LOW | haystack/components/converters/csv.py | 30 | ### Usage example | STRING |
| LOW | haystack/components/converters/xlsx.py | 33 | ### Usage example | STRING |
| LOW | …stack/components/converters/image/document_to_image.py | 36 | ### Usage example | STRING |
| LOW | …ystack/components/converters/image/file_to_document.py | 28 | ### Usage example | STRING |
| LOW | haystack/components/converters/image/pdf_to_image.py | 23 | ### Usage example | STRING |
| LOW | haystack/components/converters/image/file_to_image.py | 35 | ### Usage example | STRING |
| LOW | haystack/components/agents/state/state.py | 105 | ### Usage example | STRING |
| LOW | haystack/components/embedders/azure_text_embedder.py | 21 | ### Usage example | STRING |
| LOW | …stack/components/embedders/openai_document_embedder.py | 26 | ### Usage example | STRING |
| LOW | …ystack/components/embedders/azure_document_embedder.py | 23 | ### Usage example | STRING |
| LOW | haystack/components/embedders/openai_text_embedder.py | 23 | ### Usage example | STRING |
| LOW | haystack/components/embedders/mock_document_embedder.py | 41 | ### Usage example | STRING |
| LOW | haystack/components/embedders/mock_text_embedder.py | 37 | ### Usage example | STRING |
| LOW | …ystack/components/generators/openai_image_generator.py | 26 | ### Usage example | STRING |
| LOW | haystack/components/generators/chat/openai_responses.py | 84 | ### Usage example | STRING |
| LOW | haystack/components/generators/chat/azure.py | 43 | ### Usage example | STRING |
| LOW | haystack/components/generators/chat/azure_responses.py | 36 | ### Usage example | STRING |
| LOW | haystack/components/generators/chat/openai.py | 74 | ### Usage example | STRING |
| LOW | haystack/components/generators/chat/mock.py | 66 | ### Usage example | STRING |
| LOW | …stack/components/rankers/meta_field_grouping_ranker.py | 27 | ### Usage example | STRING |
| LOW | haystack/components/query/query_expander.py | 66 | ### Usage example | STRING |
| LOW | haystack/components/caching/cache_checker.py | 19 | ### Usage example | STRING |
| LOW | haystack/components/extractors/regex_text_extractor.py | 23 | ### Usage example | STRING |
| LOW | …nts/extractors/image/llm_document_content_extractor.py | 83 | ### Usage example | STRING |
| LOW | haystack/hooks/from_function.py | 131 | ### Usage example | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | haystack/core/component/component.py | 398 | See module's docstring. Args: cls: the class that should be used as a component. Returns: | STRING |
| HIGH | haystack/components/generators/chat/openai_responses.py | 138 | Creates an instance of OpenAIResponsesChatGenerator. Uses OpenAI's gpt-5-mini by default. Before initi | STRING |
| HIGH | haystack/components/generators/chat/azure.py | 130 | Initialize the Azure OpenAI Chat Generator component. :param azure_endpoint: The endpoint of the deplo | STRING |
| HIGH | haystack/components/generators/chat/azure_responses.py | 107 | Initialize the AzureOpenAIResponsesChatGenerator component. :param api_key: The API key to use for aut | STRING |
| HIGH | haystack/components/generators/chat/openai.py | 135 | Creates an instance of OpenAIChatGenerator. Unless specified otherwise in `model`, uses OpenAI's gpt-5-mini | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | haystack/document_stores/in_memory/document_store.py | 103 | CODE | |
| LOW | …k/components/preprocessors/markdown_header_splitter.py | 28 | CODE | |
| LOW | haystack/components/preprocessors/document_splitter.py | 60 | CODE | |
| LOW | …tack/components/preprocessors/document_preprocessor.py | 34 | CODE | |
| LOW | …stack/components/preprocessors/python_code_splitter.py | 87 | CODE | |
| LOW | haystack/components/preprocessors/document_cleaner.py | 42 | CODE | |
| LOW | haystack/components/converters/pdfminer.py | 52 | CODE | |
| LOW | haystack/components/converters/pypdf.py | 75 | CODE | |
| LOW | haystack/components/agents/agent.py | 419 | CODE | |
| LOW | haystack/components/embedders/azure_text_embedder.py | 37 | CODE | |
| LOW | …stack/components/embedders/openai_document_embedder.py | 42 | CODE | |
| LOW | …ystack/components/embedders/azure_document_embedder.py | 39 | CODE | |
| LOW | haystack/components/embedders/openai_text_embedder.py | 39 | CODE | |
| LOW | haystack/components/embedders/mock_document_embedder.py | 53 | CODE | |
| LOW | …ystack/components/generators/openai_image_generator.py | 35 | CODE | |
| LOW | haystack/components/generators/chat/openai_responses.py | 123 | CODE | |
| LOW | haystack/components/generators/chat/azure.py | 111 | CODE | |
| LOW | haystack/components/generators/chat/azure_responses.py | 90 | CODE | |
| LOW | haystack/components/generators/chat/openai.py | 121 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/components/agents/test_agent_hitl.py | 284 | # Step 1: the model calls producer and consumer together (consumer relies on inputs_from_state for `value`). | COMMENT |
| LOW⚡ | test/components/agents/test_agent_hitl.py | 285 | # Step 2: a plain text reply ends the run. | COMMENT |
| LOW⚡ | test/components/agents/test_agent.py | 1024 | # Step 1: a tool call (prompt 10 + completion 5 = 15). Step 2: the final text answer. | COMMENT |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 257 | # Step 1: Split by rows | COMMENT |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 260 | # Step 2: Split by columns | COMMENT |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 265 | # Step 3: Recursively reapply splitting checked by whether any new empty rows appear after column split | COMMENT |
| LOW | haystack/telemetry/_environment.py | 92 | # NOTE: The following items are set to default values and never populated. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/components/agents/test_agent_hitl.py | 284 | # Step 1: the model calls producer and consumer together (consumer relies on inputs_from_state for `value`). | COMMENT |
| LOW⚡ | test/components/agents/test_agent_hitl.py | 285 | # Step 2: a plain text reply ends the run. | COMMENT |
| LOW⚡ | test/components/agents/test_agent.py | 1024 | # Step 1: a tool call (prompt 10 + completion 5 = 15). Step 2: the final text answer. | COMMENT |
| LOW | haystack/tools/parameters_schema_utils.py | 56 | The purpose of this function is to help identify Callable types so they can | STRING |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 257 | # Step 1: Split by rows | COMMENT |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 260 | # Step 2: Split by columns | COMMENT |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 265 | # Step 3: Recursively reapply splitting checked by whether any new empty rows appear after column split | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/test_logging.py | 210 | # Only check for the minute to be a bit more robust | COMMENT |
| LOW | haystack/core/pipeline/breakpoint.py | 307 | # For other data types, just return the value as is. | COMMENT |
| LOW | haystack/core/pipeline/base.py | 1356 | # if we are resuming a component, the inputs are already consumed, so we just return the first input | COMMENT |
| LOW | haystack/components/fetchers/link_content.py | 23 | pass # nothing to import as we simply set the http2 attribute, library handles the rest | CODE |
| MEDIUM | docs-website/scripts/test_python_snippets.py | 296 | # Prepend a line directive comment to facilitate mapping if needed | COMMENT |
| MEDIUM | .clusterfuzzlite/build.sh | 20 | # Ship a seed corpus if one exists for this harness. The runner unpacks | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CONTRIBUTING.md | 26 | - **Open the PR** — Use a [conventional commit](https://www.conventionalcommits.org/en/v1.0.0/) title, fill the [PR temp | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/utils/test_callable_serialization.py | 42 | def my_method(self): | CODE |
| LOW⚡ | haystack/tools/from_function.py | 238 | def my_function(): ... | STRING |
| LOW⚡ | haystack/tools/from_function.py | 241 | def my_function(): ... | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 209 | # TODO: Fix testing typings | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | haystack/tracing/logging_tracer.py | 80 | # we make sure to log the operation name and tags of the span when the context manager exits | COMMENT |