[Integration]: Section Anything

Đang mở Phù hợp với người mới
#825 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 12 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
88/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
documentation

Hướng nghiên cứu

Issue đề xuất liệt kê tích hợp Section Anything hiện có. Hãy bắt đầu bằng hướng dẫn đóng góp tích hợp của repository và đối chiếu nội dung gửi với README của package và trang PyPI của package đó. Công việc hoàn tất khi tích hợp được thêm vào danh mục phù hợp cùng với tên, loại, liên kết đến package hoặc repository và mô tả ngắn gọn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

Section Anything (section-anything-haystack)

Integration type

Data Ingestion

Published package or repo (if it exists)

https://pypi.org/project/section-anything-haystack/ and https://github.com/Omniwot/section-anything/tree/main/packages/section-anything-haystack

Need or proof of use
  • Published on PyPI under Apache-2.0 (0.1.0, 1 Dec 2026). pip install section-anything-haystack adds one component, SectionAnythingConverter, in the haystack_integrations.components.converters.section_anything namespace. It works with haystack-ai 2.20 or newer, 3.x included.
  • The package README has a complete indexing pipeline (converter, DocumentWriter, InMemoryBM25Retriever) that runs in the default free mode: no API key, no model call.
  • CI runs the converter's tests on every push to main.
  • Use case: RAG over long PDFs (papers, theses, manuals, long reports), where the retrieval units should be the document's own sections and every hit should say where it sits (heading path and pages).
  • Section Anything is a personal open-source project and the converter is new, so I have no outside project to link yet. The evidence is the runnable example and the tests.
Short description

SectionAnythingConverter turns a PDF into one Document per section: the section's own text, with its heading path (for example 4 Visual Instruction Tuning > 4.1 Architecture), level, numbering, pages and character span as flat metadata.

In the default free mode, the sections come from the PDF's bookmarks, its printed table of contents and typography rules. It runs locally, calls no model and costs nothing. The quick and standard modes use a model with your own API key, under a per-document cost cap.

A Haystack user gets retrieval units that follow the document's structure, and hits that cite where they come from. With chunk, long sections are split and each chunk starts with its heading path.

Ngôn ngữ chính
Python
Star
114
Fork
328
Merge trung bình
5 ngày 12 phút
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của deepset-ai/haystack-integrations

Tất cả issue của deepset-ai/haystack-integrations

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.