• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

deepset-ai / haystack / 15250271466
90%
main: 92%

Build:
Build:
LAST BUILD BRANCH: feat/EmbeddingBasedDocumentSplitter
DEFAULT BRANCH: main
Ran 26 May 2025 10:11AM UTC
Jobs 1
Files 213
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 May 2025 09:14AM UTC coverage: 90.131% (+0.1%) from 90.028%
15250271466

push

github

julian-risch
fix: `LLMMetadataExtractor` bug in handling `Document` objects with no content

* test(extractors): Add unit test for LLMMetadataExtractor with no content

Adds a new unit test `test_run_with_document_content_none` to `TestLLMMetadataExtractor`.

This test verifies that `LLMMetadataExtractor` correctly handles documents where `document.content` is None or an empty string.

It ensures that:

- Such documents are added to the `failed_documents` list.

- The correct error message ("Document has no content, skipping LLM call.") is present in their metadata.

- No actual LLM call is attempted for these documents.

This test provides coverage for the fix that prevents an AttributeError when processing documents with no content.

* chore: update comment to reflect new behavior in _run_on_thread method

* docs: Add release note for LLMMetadataExtractor no content fix

* Update releasenotes/notes/fix-llm-metadata-extractor-no-content-910067ea72094f18.yaml

* Update fix-llm-metadata-extractor-no-content-910067ea72094f18.yaml

---------

Co-authored-by: David S. Batista <dsbatista@gmail.com>

11361 of 12605 relevant lines covered (90.13%)

0.9 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
67.74
-1.94% core/pipeline/async_pipeline.py
Jobs
ID Job ID Ran Files Coverage
1 15250271466.1 26 May 2025 10:11AM UTC 213
90.13
GitHub Action Run
Source Files on build 15250271466
  • Tree
  • List 213
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15250271466
  • cefa3e2e on github
  • Prev Build on v2.14.x (#15249013524)
  • Next Build on v2.14.x (#15254842136)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc