[Integration]: Nace

Đang mở Phù hợp với người mới
#793 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 9 ngày

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
74/100
Loại issue
Tính năng
Độ 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
content

Hướng nghiên cứu

Bắt đầu với quy trình đề xuất tích hợp hiện có và danh sách tiếp nối tiền lệ tích hợp typesafe của deepset. Xem repository nace-haystack được liên kết và các ví dụ của nó để xác nhận thông tin gói và các thành phần được hỗ trợ. Thêm mục liệt kê Nace bao gồm cả bảy thành phần; hoàn tất khi tích hợp được liệt kê với các liên kết chính xác và phần mô tả.

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

Nace

Integration type

Model Provider

Published package or repo (if it exists)

https://pypi.org/project/nace-haystack/ (current release 0.2.0) and https://github.com/nace-ai/nace-haystack

Need or proof of use

The package is released and developed in the open:

  • On PyPI since October 2026; current release 0.2.0 (2026-11-20), which added the NDI document components. Published from https://github.com/nace-ai/nace-haystack, with CI, unit tests and live integration tests against the hosted API (ci.yml, live.yml, tests/integration/).
  • Runnable pipelines that import the components:
  • Production use case: the components call Nace's hosted production API, the service behind console.nace.ai, for triage/routing with a low-confidence review queue and document intake (parse → classify → extract).

This follows up on #697 (closed, not merged) under the new proposal process. The page drafted there predates the NDI components and would be updated to cover all seven components.

Disclosure: I work at nace.ai (@saruar-dev).

Short description

Nace builds Drex, decision models that don't generate text: in one request they answer typed questions about text, JSON or images and return calibrated probabilities — choice picks one label from options, score rates the input on ordered levels, noul gives the probability that a yes/no statement is true. The package also brings Nace Document Intelligence (NDI) — document parsing, schema-based extraction and workspace search — to Haystack.

nace-haystack (Apache-2.0, Python >= 3.11, haystack-ai>=3.0.0, maintained by Nace AI) provides seven components:

Component Role
NaceTextRouter Routes text (and optional images) to one output per label, with a low_confidence fallback and an opt-in probabilities output
NaceDocumentClassifier Answers typed questions about each document and stores the answers in its metadata
NaceFaithfulnessEvaluator Judges whether answers are supported by their contexts; same inputs/outputs as Haystack's FaithfulnessEvaluator
NaceContextRelevanceEvaluator Judges whether retrieved contexts help answer the question; same as ContextRelevanceEvaluator
NaceDocumentConverter Converts file paths, ByteStream or https:// URL sources into Markdown Documents with NDI Parse, optionally one Document per page or section
NaceDocumentExtractor Fills a JSON Schema from each source with NDI Extract; data as JSON in content, per-field report in meta["extraction"]
NaceWorkspaceSearch Answers one question over a Nace workspace's ingested files with Drex Search, as a GeneratedAnswer whose documents are the cited evidence quotes

Why a Haystack user would want it: routing and document classification with calibrated probabilities and a low-confidence fallback instead of prompt-parsing an LLM; RAG evaluation where each item is one decision-model request; and document-to-Markdown conversion and schema extraction for ingestion pipelines. The router and classifier take the same parameters and produce the same outputs as deepset's typesafe-haystack components for Jev (adapted from deepset's Apache-2.0 code, original notices retained), so a Jev pipeline switches with a few documented edits. The default model is drex-max-v1.1 (text, JSON, images; drex-v2.0 is text-only), and Drex is also available through OpenRouter via api_base_url. Docs: https://console.nace.ai/docs.

(The NDI converter, extractor and workspace search also fit Data Ingestion / Search & Extraction; Model Provider matches the closest precedent, deepset's own typesafe listing for Jev.)

Ngôn ngữ chính
Python
Star
114
Fork
332
Merge trung bình
5 ngày 1 giờ
Pull request đã merge (30 ngày)
13

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.