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 presents the forensic synthetic code analysis of deepset-ai/haystack, a MDX project with 25,889 GitHub stars. SynthScan v2.0 examined 1,153,134 lines of code across 3864 source files, recording 5256 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 7.2 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 5256 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/test_logging.py | 95 | def test_skip_logging_configuration( | CODE |
| LOW | test/test_logging.py | 112 | def test_log_filtering_when_using_debug(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 123 | def test_log_filtering_when_using_debug_and_log_level_is_debug(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 136 | def test_console_rendered_structured_log_even_if_no_tty_but_python_config( | CODE |
| LOW | test/test_logging.py | 152 | def test_console_rendered_structured_log_if_in_ipython( | CODE |
| LOW | test/test_logging.py | 168 | def test_console_rendered_structured_log_even_in_jupyter( | CODE |
| LOW | test/test_logging.py | 184 | def test_console_rendered_structured_log_even_if_no_tty_but_forced_through_env( | CODE |
| LOW | test/test_logging.py | 200 | def test_console_rendered_structured_log(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 226 | def function_that_raises_and_adds_to_stack_trace(): | CODE |
| LOW | test/test_logging.py | 239 | def test_logging_of_contextvars(self, capfd: CaptureFixture, set_context_var_key: str) -> None: | CODE |
| LOW | test/test_logging.py | 252 | def test_logging_as_json_if_not_atty(self, capfd: CaptureFixture, monkeypatch: MonkeyPatch) -> None: | CODE |
| LOW | test/test_logging.py | 293 | def test_logging_as_json_enabling_via_env(self, capfd: CaptureFixture, monkeypatch: MonkeyPatch) -> None: | CODE |
| LOW | test/test_logging.py | 314 | def test_logging_of_contextvars( | CODE |
| LOW | test/test_logging.py | 338 | def test_logging_exceptions_json(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 343 | def function_that_raises_and_adds_to_stack_trace(): | CODE |
| LOW | test/test_logging.py | 388 | def test_trace_log_correlation_python_logs_with_console_rendering( | CODE |
| LOW | test/test_logging.py | 400 | def test_trace_log_correlation_python_logs(self, spying_tracer: SpyingTracer, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 422 | def test_trace_log_correlation_no_span(self, spying_tracer: SpyingTracer, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 442 | def test_trace_log_correlation_no_tracer(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 464 | def test_correct_stack_level_with_stdlib_rendering( | CODE |
| LOW | test/test_logging.py | 480 | def test_correct_stack_level_with_consoler_rendering(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 568 | def test_log_with_string_cast(self, capfd: LogCaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 602 | def test_haystack_logger_with_positional_args(self, method: str, expected_level: str) -> None: | CODE |
| LOW | test/test_logging.py | 623 | def test_haystack_logger_with_old_interpolation(self, method: str, expected_level: str) -> None: | CODE |
| LOW | test/test_logging.py | 632 | def test_that_haystack_logger_is_used(self) -> None: | CODE |
| LOW | test/test_logging.py | 668 | def test_handler_is_attached_to_haystack_namespaces_and_not_root(self) -> None: | CODE |
| LOW | test/test_logging.py | 679 | def test_integrations_logs_are_formatted_by_haystack(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 687 | def test_other_services_logs_are_not_reformatted_by_haystack( | CODE |
| LOW | test/test_logging.py | 714 | def test_legacy_root_behavior_still_available_via_empty_logger_name(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 725 | def test_switching_to_root_logger_does_not_duplicate_haystack_logs(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 741 | def test_propagate_is_true_by_default(self, caplog: LogCaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 751 | def test_propagate_false_stops_records_from_reaching_root(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 777 | def test_structlog_native_logger_respects_level_lowered_after_configure(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 789 | def test_structlog_native_logger_still_filters_below_level(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 805 | def test_without_configure_structlog_existing_config_is_preserved(self, restore_structlog_config: None) -> None: | CODE |
| LOW | test/test_logging.py | 820 | def test_configure_structlog_takes_over_existing_config(self, restore_structlog_config: None) -> None: | CODE |
| LOW | test/test_logging.py | 831 | def test_installs_handler_without_configuring_structlog(self, restore_structlog_config: None) -> None: | CODE |
| LOW | test/test_logging.py | 856 | def test_repeated_get_logger_interpolates_the_message_exactly_once(self, capfd: CaptureFixture) -> None: | CODE |
| LOW | test/test_logging.py | 872 | def test_repeated_get_logger_does_not_rewrap_methods(self) -> None: | CODE |
| LOW | test/test_logging.py | 893 | 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 | 29 | def test_converts_single_to_double(self, text, expected): | CODE |
| LOW⚡ | test/test_release_note_backticks.py | 42 | def test_leaves_valid_rst_untouched(self, text): | CODE |
| LOW⚡ | test/test_release_note_backticks.py | 45 | def test_only_single_backticks_in_mixed_text_are_converted(self): | CODE |
| LOW⚡ | test/test_release_note_backticks.py | 54 | def test_unbalanced_single_backtick_is_left_untouched(self): | CODE |
| LOW⚡ | test/test_release_note_backticks.py | 61 | def test_fix_rewrites_file_and_is_idempotent(self, tmp_path): | CODE |
| LOW | test/test_release_note_backticks.py | 74 | def test_check_mode_reports_without_modifying(self, tmp_path): | CODE |
| LOW | test/test_telemetry.py | 82 | def test_pipeline_running_with_non_serializable_component(telemetry): | CODE |
| LOW | test/test_telemetry.py | 111 | def test_pipeline_running_with_non_dict_telemetry_data(caplog): | CODE |
| LOW | test/test_telemetry.py | 132 | 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 |
| LOW⚡ | test/tracing/test_utils.py | 53 | def test_nested_list_and_dict(self) -> None: | CODE |
| LOW⚡ | test/tracing/test_utils.py | 63 | def test_object_with_to_trace_dict_placeholders(self) -> None: | CODE |
| LOW⚡ | test/tracing/test_utils.py | 68 | def test_object_with_to_trace_dict_no_placeholders(self) -> None: | CODE |
| LOW⚡ | test/tracing/test_utils.py | 73 | def test_list_of_objects_with_to_dict(self) -> None: | CODE |
| LOW⚡ | test/tracing/test_utils.py | 78 | def test_dict_with_object_values(self) -> None: | CODE |
| LOW⚡ | test/tracing/test_utils.py | 83 | def test_object_without_serialization_methods(self) -> None: | CODE |
| LOW | test/tracing/test_logging_tracer.py | 52 | def test_concurrent_spans_do_not_interleave(self, caplog: pytest.LogCaptureFixture) -> None: | CODE |
| 3466 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 | …_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 | …_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 | …_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 | …_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 | test/tools/test_toolset.py | 0 | test serialization and deserialization with a list of toolsets. | STRING |
| HIGH | test/components/agents/test_agent.py | 0 | test serialization and deserialization with a list of toolsets. | STRING |
| HIGH | test/components/generators/chat/test_openai.py | 0 | test serialization and deserialization with a list of toolsets. | 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 | …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 | …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 | …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 | …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 | …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/converters/test_pdfminer_to_document.py | 0 | test if the component runs correctly when an input file is not of the expected type. | STRING |
| HIGH | test/components/converters/test_html_to_document.py | 0 | test if the component runs correctly when an input file is not of the expected type. | STRING |
| HIGH | test/components/converters/test_markdown_to_document.py | 0 | test if the component runs correctly when an input file is not of the expected type. | 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 |
| HIGH | …t/components/embedders/test_azure_document_embedder.py | 0 | tests that the max_retries init param is set correctly if equal 0 | STRING |
| HIGH | test/components/embedders/test_azure_text_embedder.py | 0 | tests that the max_retries init param is set correctly if equal 0 | STRING |
| HIGH | test/components/generators/chat/test_azure.py | 0 | tests that the max_retries init param is set correctly if equal 0 | STRING |
| HIGH | test/components/generators/chat/test_openai.py | 0 | extracts the text content of chatmessage objects :param messages: list of haystack chatmessage objects :param meta: opti | STRING |
| HIGH | test/components/generators/chat/test_azure_responses.py | 0 | extracts the text content of chatmessage objects :param messages: list of haystack chatmessage objects :param meta: opti | STRING |
| 267 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | haystack/components/generators/chat/azure.py | 55 | 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 | 581 | 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 | 226 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.22/integrations-api/huggingface_api.md | 240 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.22/integrations-api/huggingface_api.md | 409 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.22/integrations-api/huggingface_api.md | 435 | token=Secret.from_token("<your-api-key>") | CODE |
| HIGH | …_docs/version-2.22/integrations-api/huggingface_api.md | 454 | 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 | 581 | 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 | 226 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.25/integrations-api/huggingface_api.md | 240 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.25/integrations-api/huggingface_api.md | 409 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.25/integrations-api/huggingface_api.md | 435 | token=Secret.from_token("<your-api-key>") | CODE |
| HIGH | …_docs/version-2.25/integrations-api/huggingface_api.md | 454 | 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 |
| HIGH | …sioned_docs/version-2.24/haystack-api/embedders_api.md | 554 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …sioned_docs/version-2.24/haystack-api/embedders_api.md | 568 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …ce_versioned_docs/version-2.24/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.24/integrations-api/qdrant.md | 581 | api_key="<your-api-key>", | CODE |
| HIGH | …_docs/version-2.24/integrations-api/huggingface_api.md | 34 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.24/integrations-api/huggingface_api.md | 53 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.24/integrations-api/huggingface_api.md | 226 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.24/integrations-api/huggingface_api.md | 240 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.24/integrations-api/huggingface_api.md | 409 | token=Secret.from_token("<your-api-key>")) | CODE |
| HIGH | …_docs/version-2.24/integrations-api/huggingface_api.md | 435 | token=Secret.from_token("<your-api-key>") | CODE |
| 241 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 | 44 | empty_queue.push("item1", 1) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 54 | empty_queue.push(item, priority) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 66 | empty_queue.push(item, priority) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 76 | empty_queue.push("medium1", 2) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 77 | empty_queue.push("high", 1) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 78 | empty_queue.push("medium2", 2) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 79 | empty_queue.push("low", 3) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 146 | empty_queue.push("item", 1) | CODE |
| HIGH⚡ | test/core/pipeline/test_utils.py | 159 | empty_queue.push(f"item{i}", priority) | CODE |
| HIGH | test/core/pipeline/test_utils.py | 90 | empty_queue.push("item1", 1) | CODE |
| HIGH | test/core/pipeline/test_utils.py | 91 | empty_queue.push("item2", 2) | CODE |
| HIGH | test/core/pipeline/test_utils.py | 105 | empty_queue.push("item1", 1) | CODE |
| HIGH | test/core/pipeline/test_utils.py | 128 | empty_queue.push("item1", 1) | CODE |
| HIGH | test/core/pipeline/test_utils.py | 130 | empty_queue.push("item2", 2) | CODE |
| HIGH | test/core/pipeline/test_utils.py | 188 | empty_queue.push(item, priority) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1068 | queue.push("ready_component", ComponentPriority.READY) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1081 | queue.push("blocked_component", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1095 | queue.push("ready_component", ComponentPriority.READY) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1387 | priority_queue.push("comp1", ComponentPriority.DEFER) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1388 | priority_queue.push("comp2", ComponentPriority.DEFER) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1414 | priority_queue.push("branch_joiner", ComponentPriority.DEFER) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 1415 | priority_queue.push("comp3", ComponentPriority.DEFER) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2496 | priority_queue.push("comp1", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2497 | priority_queue.push("comp2", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2498 | priority_queue.push("comp3", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2527 | priority_queue.push("comp1", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2528 | priority_queue.push("router", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2529 | priority_queue.push("comp2", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2530 | priority_queue.push("blocking_comp", ComponentPriority.BLOCKED) | CODE |
| HIGH⚡ | test/core/pipeline/test_pipeline_base.py | 2531 | priority_queue.push("a_comp3", ComponentPriority.BLOCKED) | CODE |
| HIGH | test/core/pipeline/test_pipeline_base.py | 1122 | queue.push(component_name, priority) | CODE |
| HIGH | test/core/pipeline/test_pipeline_base.py | 2470 | priority_queue.push("comp1", ComponentPriority.BLOCKED) | CODE |
| HIGH | test/core/pipeline/test_pipeline_base.py | 2471 | 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/agents/test_agent.py | 1378 | "haystack.agent.tools": '[{"type": "haystack.tools.tool.Tool", "data": {"name": "weather_tool", "description | CODE |
| HIGH⚡ | test/components/agents/test_agent.py | 1381 | "haystack.agent.input": '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "What | CODE |
| HIGH⚡ | test/components/agents/test_agent.py | 1382 | "haystack.agent.output": '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "Wha | CODE |
| HIGH⚡ | test/components/agents/test_agent.py | 1543 | == '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "What\'s the weather in Pa | CODE |
| HIGH⚡ | test/components/agents/test_agent.py | 1547 | == '{"replies": [{"role": "assistant", "meta": {}, "name": null, "content": [{"text": "Hello from run_async" | CODE |
| HIGH⚡ | test/components/agents/test_agent.py | 1556 | "haystack.agent.tools": '[{"type": "haystack.tools.tool.Tool", "data": {"name": "weather_tool", "description | CODE |
| HIGH⚡ | test/components/agents/test_agent.py | 1559 | "haystack.agent.input": '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "What | CODE |
| HIGH⚡ | test/components/agents/test_agent.py | 1560 | "haystack.agent.output": '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "Wha | CODE |
| HIGH | test/components/agents/test_agent.py | 1363 | == '{"messages": [{"role": "user", "meta": {}, "name": null, "content": [{"text": "What\'s the weather in Pa | CODE |
| HIGH | test/components/agents/test_agent.py | 1367 | == '{"replies": [{"role": "assistant", "meta": {}, "name": null, "content": [{"text": "Hello"}]}]}' | CODE |
| HIGH | haystack/core/pipeline/breakpoint.py | 272 | "key": [{"sender": null, "value": "some value"}] -> "key": "some value" | STRING |
| HIGH | haystack/core/pipeline/base.py | 1272 | priority_queue.push(component_name, priority) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/test_imports.py | 20 | CODE | |
| LOW | test/test_imports.py | 32 | 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 | 11 | 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 | 38 | 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/searchable_toolset.py | 20 | CODE | |
| LOW | haystack/tools/serde_utils.py | 13 | CODE | |
| LOW | haystack/tools/utils.py | 11 | 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 | |
| LOW | haystack/core/component/__init__.py | 5 | CODE | |
| LOW | haystack/core/component/__init__.py | 5 | CODE | |
| LOW | haystack/core/component/__init__.py | 6 | CODE | |
| LOW | haystack/core/component/__init__.py | 6 | CODE | |
| LOW | haystack/core/super_component/__init__.py | 5 | CODE | |
| LOW | haystack/core/super_component/__init__.py | 5 | CODE | |
| LOW | haystack/utils/misc.py | 19 | CODE | |
| LOW | haystack/utils/__init__.py | 26 | CODE | |
| LOW | haystack/utils/__init__.py | 27 | CODE | |
| 219 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/document_stores/test_in_memory.py | 658 | # Create a mix of concurrent operations | COMMENT |
| MEDIUM | test/tools/test_pipeline_tool.py | 251 | # Create an Agent with the tool | COMMENT |
| MEDIUM | test/tools/test_pipeline_tool.py | 296 | # Create an Agent with the tool | COMMENT |
| MEDIUM⚡ | test/tools/test_component_tool.py | 850 | # Create a pipeline and add the component to it | COMMENT |
| MEDIUM | test/tools/test_component_tool.py | 393 | # Create a pipeline with the annotated component | COMMENT |
| MEDIUM | test/tools/test_component_tool.py | 459 | # Create a pipeline with both components | COMMENT |
| MEDIUM | test/tools/test_component_tool.py | 790 | # Create the component and tool | COMMENT |
| MEDIUM⚡ | test/core/pipeline/test_pipeline_base.py | 1408 | # Create a cycle between comp2 and comp3. Entry point is comp1 -> comp2 | COMMENT |
| MEDIUM | …breakpoints/test_pipeline_breakpoints_branch_joiner.py | 72 | # 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 | 66 | # Create a Breakpoint on-the-fly using the shared output directory | COMMENT |
| MEDIUM | …e/breakpoints/test_pipeline_breakpoints_list_joiner.py | 71 | # Create a Breakpoint on-the-fly using the shared output directory | STRING |
| MEDIUM | …ipeline/breakpoints/test_pipeline_breakpoints_loops.py | 120 | # Create a Breakpoint on-the-fly using the shared output directory | COMMENT |
| MEDIUM | …ne/breakpoints/test_pipeline_breakpoints_rag_hybrid.py | 118 | # Create a Breakpoint on-the-fly using the shared output directory | COMMENT |
| MEDIUM | …st/components/preprocessors/test_recursive_splitter.py | 1005 | # Create a complex text with multiple separators and chunks of different sizes | COMMENT |
| MEDIUM | …reprocessors/test_embedding_based_document_splitter.py | 592 | # Create a very long text with multiple paragraphs and topics | COMMENT |
| MEDIUM | …reprocessors/test_embedding_based_document_splitter.py | 675 | # Create a very long text with multiple paragraphs and topics | COMMENT |
| MEDIUM | …onents/retrievers/test_auto_merging_retriever_async.py | 82 | # Create a leaf document that points to this parent | COMMENT |
| MEDIUM | …t/components/retrievers/test_auto_merging_retriever.py | 134 | # Create a leaf document that points to this parent | COMMENT |
| MEDIUM | test/components/converters/image/test_pdf_to_image.py | 98 | # Create an empty ByteStream object | COMMENT |
| MEDIUM | test/components/converters/image/test_file_to_image.py | 107 | # 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 | 404 | # Create a custom stream that yields both events sequentially | COMMENT |
| MEDIUM⚡ | haystack/tools/component_tool.py | 74 | # Create a SerperDev search component | STRING |
| MEDIUM⚡ | haystack/tools/component_tool.py | 77 | # Create a tool from the component | STRING |
| MEDIUM⚡ | haystack/tools/component_tool.py | 84 | # Create an Agent with an OpenAIChatGenerator and the tool | STRING |
| MEDIUM | haystack/tools/component_tool.py | 183 | # Create the tools schema from the component run method parameters | COMMENT |
| MEDIUM | haystack/tools/component_tool.py | 245 | # 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 | 43 | # Create a toolset with the math tools | STRING |
| MEDIUM | haystack/tools/toolset.py | 93 | # Create the dynamic toolset and use it with an Agent | STRING |
| MEDIUM | haystack/core/pipeline/pipeline.py | 475 | # Create a snapshot of the state of the pipeline before the error occurred. | COMMENT |
| MEDIUM⚡ | haystack/core/pipeline/base.py | 256 | # Create a new one | COMMENT |
| MEDIUM | haystack/core/pipeline/base.py | 681 | # Create the new connection | COMMENT |
| MEDIUM | haystack/core/pipeline/base.py | 1415 | # Create a list of all components that have the same priority as the current component, including the | COMMENT |
| MEDIUM | haystack/core/component/component.py | 271 | # Create the sockets if set_input_types() wasn't called in the constructor. | COMMENT |
| MEDIUM | haystack/core/super_component/super_component.py | 457 | # Create a super component with simplified input/output mapping | STRING |
| MEDIUM | haystack/core/super_component/super_component.py | 589 | # Create a new __init__ method that will initialize both the original class and SuperComponent | COMMENT |
| MEDIUM | haystack/core/super_component/super_component.py | 624 | # 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 | 270 | # Create a Jinja environment to inspect variables in the condition templates | COMMENT |
| MEDIUM | …nts/preprocessors/embedding_based_document_splitter.py | 44 | # Create a document with content that has a clear topic shift | STRING |
| MEDIUM | …nts/preprocessors/embedding_based_document_splitter.py | 252 | # Create an initial split of the document content into smaller chunks | COMMENT |
| MEDIUM | …nts/preprocessors/embedding_based_document_splitter.py | 269 | # Create an initial split of the document content into smaller chunks | COMMENT |
| MEDIUM | haystack/components/fetchers/link_content.py | 171 | # This method is invoked only after failed requests (exception raised) | COMMENT |
| MEDIUM⚡ | haystack/components/fetchers/link_content.py | 391 | # 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/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/tools/test_searchable_toolset.py | 834 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW⚡ | test/tools/test_searchable_toolset.py | 883 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/tools/test_searchable_toolset.py | 529 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/routers/test_document_type_router.py | 276 | "author": "John Doe", | CODE |
| LOW⚡ | test/components/routers/test_document_type_router.py | 287 | 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 | 98 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | test/components/preprocessors/test_document_cleaner.py | 98 | Lorem ipsum dolor sit amet | CODE |
| LOW⚡ | test/components/preprocessors/test_document_cleaner.py | 116 | Lorem ipsum dolor sit amet 3 | CODE |
| LOW⚡ | test/components/preprocessors/test_document_cleaner.py | 116 | Lorem ipsum dolor sit amet 3 | CODE |
| LOW⚡ | test/components/agents/test_agent.py | 672 | monkeypatch.setenv("FAKE_OPENAI_KEY", "fake-key") | CODE |
| LOW⚡ | test/components/agents/test_agent.py | 1196 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW⚡ | test/components/agents/test_agent.py | 1205 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 224 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 240 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 328 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 395 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 409 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 500 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 565 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 608 | monkeypatch.setenv("FAKE_OPENAI_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 653 | monkeypatch.setenv("FAKE_OPENAI_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 774 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 795 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 825 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 852 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 868 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 884 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 898 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 915 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 1006 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 1149 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 1257 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 1812 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/agents/test_agent.py | 2301 | function=lambda: "placeholder", | CODE |
| LOW | test/components/agents/test_agent.py | 2334 | function=lambda: "placeholder", | CODE |
| LOW | test/components/agents/test_agent_hooks.py | 537 | 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 | 54 | assert evaluator._token.resolve_value() == "fake-token" | CODE |
| LOW⚡ | test/components/generators/chat/test_llm.py | 136 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/generators/chat/test_llm.py | 162 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/generators/chat/test_llm.py | 178 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | test/components/generators/chat/test_llm.py | 213 | monkeypatch.setenv("OPENAI_API_KEY", "fake-key") | CODE |
| LOW | …xtractors/image/test_llm_document_content_extractor.py | 446 | {"title": "Example Document", "author": "John Doe", "date": "2024-01-15", "document_type": "invoice"} | CODE |
| LOW | test/dataclasses/test_document.py | 71 | dataframe="placeholder", | CODE |
| LOW | …/version-2.22/integrations-api/microsoft_sharepoint.md | 268 | operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, or | CODE |
| LOW | …/version-2.22/integrations-api/microsoft_sharepoint.md | 298 | operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, or | CODE |
| LOW | …ioned_docs/version-2.22/integrations-api/opensearch.md | 593 | meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"} | CODE |
| LOW | …ioned_docs/version-2.22/integrations-api/opensearch.md | 601 | meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"} | CODE |
| LOW | …ed_docs/version-2.22/integrations-api/mongodb_atlas.md | 166 | results = retriever.run(query="Lorem ipsum") | CODE |
| LOW | …ed_docs/version-2.22/integrations-api/mongodb_atlas.md | 170 | 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 | 268 | operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, or | CODE |
| LOW | …/version-2.25/integrations-api/microsoft_sharepoint.md | 298 | operators directly in the query, for example `filetype:docx`, `author:"Jane Doe"`, or | CODE |
| LOW | …ioned_docs/version-2.25/integrations-api/opensearch.md | 593 | meta={"category": "Python", "status": "active", "priority": 1, "author": "John Doe"} | CODE |
| LOW | …ioned_docs/version-2.25/integrations-api/opensearch.md | 601 | meta={"category": "Python", "status": "inactive", "priority": 3, "author": "John Doe"} | CODE |
| LOW | …ed_docs/version-2.25/integrations-api/mongodb_atlas.md | 166 | results = retriever.run(query="Lorem ipsum") | CODE |
| LOW | …ed_docs/version-2.25/integrations-api/mongodb_atlas.md | 170 | The example above retrieves the 10 most similar documents to the query "Lorem ipsum" from the | CODE |
| 78 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 130 | 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 | 339 | 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 | 556 | 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 | 1286 | [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 | 130 | 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 | 339 | 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 | 556 | 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 | 1286 | [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 | 130 | 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 | 339 | 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 | 556 | 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 | 1286 | [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 | 130 | 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 | 339 | 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 | 556 | 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 | 1286 | [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 | 130 | 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 | 339 | 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 | 556 | 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 | 1286 | [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 | 130 | 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 | 339 | 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 | 556 | 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 | 1286 | [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 | 130 | 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 | 339 | 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 | 556 | 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 | 1286 | [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 | 130 | 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 | 339 | 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 | 556 | 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 | 1286 | [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 | 130 | 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 | 339 | 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 | 556 | 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 | 1286 | [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 | 130 | 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 | 339 | 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 | 556 | 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 | 1286 | [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 | 130 | 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.20/integrations-api/anthropic.md | 339 | 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.20/integrations-api/anthropic.md | 556 | 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.20/integrations-api/amazon_bedrock.md | 1286 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …sioned_docs/version-2.27/integrations-api/anthropic.md | 130 | 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.27/integrations-api/anthropic.md | 339 | 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.27/integrations-api/anthropic.md | 556 | 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.27/integrations-api/amazon_bedrock.md | 1286 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …sioned_docs/version-2.18/integrations-api/anthropic.md | 130 | 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.18/integrations-api/anthropic.md | 339 | 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.18/integrations-api/anthropic.md | 556 | 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.18/integrations-api/amazon_bedrock.md | 1286 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | …sioned_docs/version-2.29/integrations-api/anthropic.md | 130 | 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.29/integrations-api/anthropic.md | 339 | 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.29/integrations-api/anthropic.md | 556 | 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.29/integrations-api/amazon_bedrock.md | 1286 | [Guardrails Streaming documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html) | CODE |
| MEDIUM | docs-website/reference/integrations-api/anthropic.md | 130 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| MEDIUM | docs-website/reference/integrations-api/anthropic.md | 339 | use is detected. See the Anthropic [tools](https://docs.anthropic.com/en/docs/tool-use#chain-of-thought-tool-use) | CODE |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/tracing/utils.py | 24 | def set_tag(self, key: str, value: Any) -> None: | CODE |
| LOW⚡ | test/tracing/utils.py | 30 | def set_content_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 | 26 | 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 | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/tools/pipeline_tool.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/tools/parameters_schema_utils.py | 21 | 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/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 | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/core/pipeline/breakpoint.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/core/pipeline/draw.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/core/pipeline/base.py | 64 | 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 | 449 | def set_input_types(self, instance: Any, **types: type[Any]) -> None: | CODE |
| LOW | haystack/core/component/component.py | 499 | 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 | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/utils/callable_serialization.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/utils/hf.py | 14 | logger = logging.getLogger(__name__) | 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 | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/components/routers/conditional_router.py | 20 | 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 | 11 | 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 | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …tack/components/preprocessors/csv_document_splitter.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …stack/components/preprocessors/python_code_splitter.py | 13 | 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 | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/components/preprocessors/recursive_splitter.py | 15 | 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 |
| LOW | haystack/components/builders/chat_prompt_builder.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/components/builders/prompt_builder.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | haystack/components/builders/answer_builder.py | 12 | logger = logging.getLogger(__name__) | CODE |
| 54 more matches not shown… | ||||
| 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 | 2541 | # inputs passed between components. | 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/tools/__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/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/tool_result_offloading/__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/serialization_security.py | 41 | # `builtins` is on the default allowlist because deserialization legitimately needs builtin *types* | COMMENT |
| LOW | haystack/core/component/component.py | 161 | 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 | print(router.run([ChatMessage.from_user("How to rob a bank?")])) | COMMENT |
| LOW | …k/components/preprocessors/markdown_header_splitter.py | 81 | # Matches fenced code blocks delimited by triple backticks (```) or triple tildes (~~~). | 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 | result = ranker.run(documents=docs) | COMMENT |
| LOW | haystack/skill_stores/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | 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/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/prepare_release_notification.sh | 1 | #!/bin/bash | COMMENT |
| LOW | e2e/__init__.py | 1 | # SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai> | COMMENT |
| LOW | …ersioned_docs/version-2.25/haystack-api/rankers_api.md | 441 | result = ranker.run(documents=docs) | COMMENT |
| LOW | …ioned_docs/version-2.25/haystack-api/retrievers_api.md | 861 | rag.connect("bm25_retriever", "sentence_window_retriever") | COMMENT |
| LOW | …ioned_docs/version-2.25/haystack-api/evaluators_api.md | 101 | evaluator = ContextRelevanceEvaluator() | COMMENT |
| LOW | …ersioned_docs/version-2.24/haystack-api/rankers_api.md | 461 | Document(content="A chromosome is a package of DNA", meta={"group": "314", "split_id": 2, "subgroup": "subC"}), | COMMENT |
| LOW | …ioned_docs/version-2.24/haystack-api/retrievers_api.md | 961 | # >> meta: {'source_id': '74ea87deb38012873cf8c07e...f19d01a26a098447113e1d7b83efd30c02987114', 'page_number': 1, | COMMENT |
| LOW | …ersioned_docs/version-2.30/haystack-api/rankers_api.md | 581 | ranker = MetaFieldGroupingRanker(group_by="group",subgroup_by="subgroup", sort_docs_by="split_id") | COMMENT |
| LOW | …ersioned_docs/version-2.30/haystack-api/routers_api.md | 541 | print(router.run([ChatMessage.from_user("How to rob a bank?")])) | COMMENT |
| 40 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 | 84 | 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 | 411 | except Exception as e: | CODE |
| LOW | haystack/tools/from_function.py | 169 | except Exception as e: | CODE |
| LOW | haystack/tools/component_tool.py | 372 | except Exception as e: | CODE |
| LOW | haystack/tools/parameters_schema_utils.py | 135 | except Exception as e: | CODE |
| LOW | haystack/tools/tool.py | 299 | except Exception as e: | CODE |
| LOW | haystack/tools/tool.py | 319 | except Exception as e: | CODE |
| LOW | haystack/core/pipeline/utils.py | 49 | except Exception as e: | CODE |
| LOW | haystack/core/pipeline/pipeline.py | 181 | except Exception as error: | CODE |
| LOW | haystack/core/pipeline/pipeline.py | 567 | except Exception as error: | CODE |
| LOW | haystack/core/pipeline/pipeline.py | 605 | except Exception: | CODE |
| LOW | haystack/core/pipeline/breakpoint.py | 173 | except Exception as error: | CODE |
| LOW | haystack/core/pipeline/breakpoint.py | 207 | except Exception as error: | CODE |
| LOW | haystack/core/pipeline/breakpoint.py | 314 | except Exception as error: | CODE |
| LOW | haystack/core/pipeline/breakpoint.py | 329 | except Exception as field_error: | CODE |
| LOW | haystack/core/pipeline/draw.py | 323 | except Exception as exc: | STRING |
| LOW⚡ | haystack/core/pipeline/base.py | 261 | except Exception as e: | CODE |
| LOW⚡ | haystack/core/pipeline/base.py | 265 | except Exception: | CODE |
| LOW | haystack/core/pipeline/base.py | 345 | except Exception as e: | CODE |
| LOW | haystack/core/pipeline/base.py | 1548 | except Exception as e: | CODE |
| LOW | haystack/utils/misc.py | 129 | except Exception: | CODE |
| LOW | haystack/utils/base_serialization.py | 244 | except Exception as e: | CODE |
| LOW | haystack/utils/base_serialization.py | 253 | except Exception as e: | CODE |
| LOW | haystack/utils/jinja2_extensions.py | 51 | except Exception as e: | CODE |
| LOW | haystack/utils/callable_serialization.py | 96 | except Exception: | CODE |
| LOW | haystack/components/routers/file_type_router.py | 182 | except Exception as e: | CODE |
| LOW | haystack/components/routers/conditional_router.py | 454 | 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 | 111 | except Exception as e: | CODE |
| LOW | …stack/components/preprocessors/python_code_splitter.py | 170 | except Exception: # pragma: no cover - defensive guard | CODE |
| LOW | haystack/components/retrievers/multi_retriever.py | 256 | except Exception as e: | CODE |
| LOW | haystack/components/retrievers/multi_retriever.py | 320 | except Exception as e: | CODE |
| LOW | haystack/components/fetchers/link_content.py | 356 | except Exception as e: | CODE |
| LOW⚡ | haystack/components/fetchers/link_content.py | 387 | except Exception as e: | CODE |
| LOW | haystack/components/fetchers/link_content.py | 412 | except Exception as e: | CODE |
| LOW | haystack/components/converters/docx.py | 224 | except Exception as e: | CODE |
| LOW | haystack/components/converters/docx.py | 231 | 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 | 190 | except Exception as e: | CODE |
| LOW | haystack/components/converters/pdfminer.py | 196 | except Exception as e: | CODE |
| LOW | haystack/components/converters/html.py | 118 | except Exception as e: | CODE |
| LOW | haystack/components/converters/html.py | 129 | except Exception as conversion_e: | CODE |
| LOW | haystack/components/converters/txt.py | 81 | except Exception as e: | CODE |
| LOW | haystack/components/converters/txt.py | 87 | 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 | 140 | except Exception as e: | CODE |
| LOW | haystack/components/converters/pypdf.py | 203 | except Exception as e: | CODE |
| LOW | haystack/components/converters/pypdf.py | 209 | except Exception as e: | CODE |
| LOW | haystack/components/converters/csv.py | 119 | except Exception as e: | CODE |
| LOW | haystack/components/converters/csv.py | 127 | except Exception as e: | CODE |
| LOW | haystack/components/converters/csv.py | 161 | except Exception: | CODE |
| LOW | haystack/components/converters/csv.py | 172 | except Exception as e: | CODE |
| LOW | haystack/components/converters/csv.py | 189 | except Exception as e: | CODE |
| LOW | haystack/components/converters/xlsx.py | 122 | except Exception as e: | CODE |
| 36 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | haystack/document_stores/in_memory/document_store.py | 608 | CODE | |
| LOW | haystack/tools/from_function.py | 339 | CODE | |
| LOW | haystack/tools/utils.py | 40 | CODE | |
| LOW | haystack/tools/parameters_schema_utils.py | 105 | CODE | |
| LOW | haystack/tools/tool.py | 111 | CODE | |
| LOW | haystack/core/serialization.py | 42 | CODE | |
| LOW | haystack/core/serialization.py | 256 | CODE | |
| LOW | haystack/core/pipeline/pipeline.py | 196 | CODE | |
| LOW | haystack/core/pipeline/pipeline.py | 775 | CODE | |
| LOW | haystack/core/pipeline/draw.py | 181 | CODE | |
| LOW | haystack/core/pipeline/base.py | 211 | CODE | |
| LOW | haystack/core/pipeline/base.py | 1097 | CODE | |
| LOW | haystack/core/pipeline/base.py | 1201 | CODE | |
| LOW | haystack/core/pipeline/base.py | 1649 | CODE | |
| LOW | haystack/core/super_component/super_component.py | 214 | 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 | 134 | CODE | |
| LOW | haystack/components/routers/document_type_router.py | 112 | CODE | |
| LOW | haystack/components/routers/conditional_router.py | 382 | CODE | |
| LOW | haystack/components/routers/conditional_router.py | 463 | CODE | |
| LOW | …k/components/preprocessors/markdown_header_splitter.py | 208 | CODE | |
| LOW | …tack/components/preprocessors/csv_document_splitter.py | 74 | CODE | |
| LOW | …stack/components/preprocessors/python_code_splitter.py | 563 | CODE | |
| LOW | haystack/components/preprocessors/recursive_splitter.py | 152 | CODE | |
| LOW | haystack/components/preprocessors/recursive_splitter.py | 277 | CODE | |
| LOW | haystack/components/preprocessors/recursive_splitter.py | 363 | CODE | |
| LOW | haystack/components/builders/chat_prompt_builder.py | 140 | CODE | |
| LOW | haystack/components/builders/chat_prompt_builder.py | 213 | CODE | |
| LOW | haystack/components/builders/answer_builder.py | 126 | CODE | |
| LOW | haystack/components/builders/answer_builder.py | 280 | CODE | |
| LOW | haystack/components/converters/docx.py | 306 | CODE | |
| LOW | haystack/components/converters/pdfminer.py | 111 | 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 | 160 | CODE | |
| LOW | haystack/components/agents/agent.py | 702 | CODE | |
| LOW | haystack/components/agents/tool_calling.py | 344 | CODE | |
| LOW | haystack/components/agents/tool_calling.py | 504 | CODE | |
| LOW | haystack/components/validators/json_schema.py | 221 | CODE | |
| LOW | haystack/components/generators/utils.py | 14 | CODE | |
| LOW | haystack/components/generators/utils.py | 79 | CODE | |
| LOW | haystack/components/generators/chat/openai_responses.py | 618 | CODE | |
| LOW | haystack/components/generators/chat/openai_responses.py | 692 | CODE | |
| LOW | haystack/components/generators/chat/openai_responses.py | 822 | CODE | |
| LOW | haystack/components/generators/chat/openai_responses.py | 915 | CODE | |
| LOW | haystack/components/generators/chat/openai_responses.py | 504 | CODE | |
| LOW | haystack/components/generators/chat/mock.py | 120 | CODE | |
| LOW | haystack/components/rankers/meta_field.py | 372 | CODE | |
| LOW | …ystack/components/extractors/llm_metadata_extractor.py | 283 | CODE | |
| LOW | haystack/hooks/human_in_the_loop/user_interfaces.py | 86 | CODE | |
| LOW | haystack/hooks/human_in_the_loop/user_interfaces.py | 183 | CODE | |
| LOW | haystack/telemetry/_telemetry.py | 47 | CODE | |
| LOW | haystack/dataclasses/chat_message.py | 416 | CODE | |
| LOW | haystack/dataclasses/chat_message.py | 658 | CODE | |
| LOW | haystack/dataclasses/chat_message.py | 713 | CODE | |
| 7 more matches not shown… | ||||
| 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 | 51 | # Check if it's a Callable type (direct or parameterized) | COMMENT |
| LOW | haystack/core/pipeline/breakpoint.py | 69 | # Check if the ordered_component_names are valid components in the pipeline | COMMENT |
| LOW | haystack/core/pipeline/breakpoint.py | 77 | # Check if the original_input_data is valid components in the pipeline | COMMENT |
| LOW | haystack/core/pipeline/breakpoint.py | 179 | # Check if snapshot saving is enabled via environment variable (enabled by default) | COMMENT |
| LOW | haystack/core/pipeline/base.py | 1037 | # Check if an input is provided more than once for non-variadic sockets | COMMENT |
| LOW | haystack/core/pipeline/component_checks.py | 77 | # 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 | 540 | # Check if template_text is a string before attempting to parse | COMMENT |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 267 | # Check if there are consecutive rows >= row_split_threshold now present | COMMENT |
| LOW | haystack/components/agents/agent.py | 1282 | # Check if any error is specifically from the tool matching the exit condition | COMMENT |
| LOW | haystack/components/agents/tool_calling.py | 416 | # Check if State is in func_params | COMMENT |
| LOW | haystack/components/agents/state/state.py | 76 | # Check if the list contains ChatMessage elements | COMMENT |
| LOW | haystack/components/samplers/top_p.py | 101 | # Check if the cumulative probabilities are close to top_p with a 1e-6 tolerance | COMMENT |
| LOW | haystack/components/query/query_expander.py | 139 | # 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 | 89 | # 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 | 239 | ### Usage example | STRING |
| LOW | haystack/tools/skills/skill_toolset.py | 31 | ### Usage example | STRING |
| LOW | haystack/core/super_component/super_component.py | 417 | ### 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 | 23 | ### Usage example | STRING |
| LOW | haystack/components/routers/file_type_router.py | 36 | ### Usage example | STRING |
| LOW | haystack/components/routers/document_type_router.py | 26 | ### Usage example | STRING |
| LOW | haystack/components/routers/conditional_router.py | 56 | ### Usage example | STRING |
| LOW | haystack/components/preprocessors/document_splitter.py | 42 | ### Usage example | STRING |
| LOW | …onents/preprocessors/hierarchical_document_splitter.py | 20 | ## 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 | 37 | ### 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 | 50 | ### 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 | 25 | ### Usage example | STRING |
| LOW | haystack/components/converters/pypdf.py | 58 | ### Usage example | STRING |
| LOW | haystack/components/converters/csv.py | 29 | ### 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 | 104 | ### 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 | 63 | ### Usage example | STRING |
| LOW | haystack/components/generators/chat/azure.py | 44 | ### 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 | 59 | ### Usage example | STRING |
| LOW | …stack/components/rankers/meta_field_grouping_ranker.py | 25 | ### Usage example | STRING |
| LOW | haystack/components/query/query_expander.py | 65 | ### 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 | 81 | ### Usage example | STRING |
| LOW | haystack/hooks/from_function.py | 139 | ### Usage example | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | haystack/core/component/component.py | 407 | 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 | 117 | Creates an instance of OpenAIResponsesChatGenerator. Uses OpenAI's gpt-5-mini by default. Before initi | STRING |
| HIGH | haystack/components/generators/chat/azure.py | 131 | 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⚡ | test/components/agents/test_agent_hitl.py | 290 | # 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 | 291 | # Step 2: a plain text reply ends the run. | COMMENT |
| LOW⚡ | test/components/agents/test_agent.py | 1207 | # Step 1: two parallel tool calls + usage with nested detail dicts. | COMMENT |
| LOW⚡ | test/components/agents/test_agent.py | 1208 | # Step 2: one more weather_tool call + flat usage. | COMMENT |
| LOW⚡ | test/components/agents/test_agent.py | 1209 | # Step 3: final text answer + usage. | COMMENT |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 256 | # Step 1: Split by rows | COMMENT |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 259 | # Step 2: Split by columns | COMMENT |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 264 | # 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 | haystack/document_stores/in_memory/document_store.py | 65 | CODE | |
| LOW | …k/components/preprocessors/markdown_header_splitter.py | 26 | CODE | |
| LOW | haystack/components/preprocessors/document_splitter.py | 55 | CODE | |
| LOW | …tack/components/preprocessors/document_preprocessor.py | 34 | CODE | |
| LOW | …stack/components/preprocessors/python_code_splitter.py | 86 | CODE | |
| LOW | haystack/components/preprocessors/document_cleaner.py | 42 | CODE | |
| LOW | haystack/components/converters/pdfminer.py | 49 | CODE | |
| LOW | haystack/components/converters/pypdf.py | 75 | CODE | |
| LOW | haystack/components/agents/agent.py | 540 | 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 | 102 | CODE | |
| LOW | haystack/components/generators/chat/azure.py | 112 | 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 | 290 | # 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 | 291 | # Step 2: a plain text reply ends the run. | COMMENT |
| LOW⚡ | test/components/agents/test_agent.py | 1207 | # Step 1: two parallel tool calls + usage with nested detail dicts. | COMMENT |
| LOW⚡ | test/components/agents/test_agent.py | 1208 | # Step 2: one more weather_tool call + flat usage. | COMMENT |
| LOW⚡ | test/components/agents/test_agent.py | 1209 | # Step 3: final text answer + usage. | COMMENT |
| LOW | haystack/tools/parameters_schema_utils.py | 43 | The purpose of this function is to help identify Callable types so they can | STRING |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 256 | # Step 1: Split by rows | COMMENT |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 259 | # Step 2: Split by columns | COMMENT |
| LOW⚡ | …tack/components/preprocessors/csv_document_splitter.py | 264 | # Step 3: Recursively reapply splitting checked by whether any new empty rows appear after column split | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 328 | # ── Entry point ─────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/test_logging.py | 209 | # Only check for the minute to be a bit more robust | COMMENT |
| LOW | haystack/core/pipeline/breakpoint.py | 293 | # For other data types, just return the value as is. | COMMENT |
| LOW | haystack/core/pipeline/base.py | 1219 | # 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 | 234 | def my_function(): ... | STRING |
| LOW⚡ | haystack/tools/from_function.py | 237 | def my_function(): ... | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 205 | # 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 |