[Integration]: Nace
维护者通常 9 天内回复
还没有人认领这个 Issue。
评估
调研方向
从现有的集成提案流程,以及遵循 deepset 的 typesafe 集成先例的列表开始。查看链接的 nace-haystack 仓库及其示例,以确认软件包详情和支持的组件。添加一条涵盖全部七个组件的 Nace 列表;当集成条目包含准确的链接和描述时,即为完成。
由索引模型根据 Issue 内容生成。
描述
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:
- examples/support_email_pipeline.py — classifies eight synthetic support emails into document metadata, filters refund requests, routes emails and an invoice image, and checks draft replies against a refund policy.
- examples/route_with_fallback.py — a routing pipeline that connects every router output, including the
low_confidencefallback, to downstream handlers. - notebooks/nace_haystack_cookbook.ipynb — a cookbook notebook walking through the same workflow.
- 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.)
- 主要语言
- Python
- 星标
- 114
- 派生
- 332
- 平均合并
- 5 天 1 小时
- 30 天内合并 PR
- 13
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
deepset-ai/haystack-integrations 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 68/100
deepset-ai/haystack-integrations#834 ·
维护者通常 9 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
deepset-ai/haystack-integrations#831 ·
维护者通常 9 天内回复
-
难度 1/5 1-3 小时 新手友好度 72/100
deepset-ai/haystack-integrations#830 ·
维护者通常 9 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
deepset-ai/haystack-integrations#827 ·
维护者通常 9 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
deepset-ai/haystack-integrations#826 ·
维护者通常 9 天内回复
查看 deepset-ai/haystack-integrations 的全部 Issue
相似的 Issue
-
Test: to_hijri() accepts datetime.datetime and uses only the date part可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭good first issue
难度 1/5 1 小时以内 新手友好度 95/100
omarelshamy25x/shamy-hijri#63 · 3 条评论 ·
维护者通常 1 天内回复
-
polish
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scores可能已有人在做 @AshutoshSingh840 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
UKGovernmentBEIS/control-arena#992 ·
维护者通常 3 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
mvalentsev/awesome-free-ai-coding#70 ·
维护者通常 1 天内回复