feat(nli): fb-41 PR-9b prep — activate ort/tokenizers/hf-hub/ndarray/tracing deps in kebab-nli

PR-9a 의 workspace.dependencies 만 declared 였던 5 crate 의존을 kebab-nli/Cargo.toml 에 활성화. PR-9b 의 OnnxNliVerifier 실 구현이 본 commit 위에서 빌드 가능.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-25 21:42:07 +00:00
parent 11ce7847a1
commit 93436f9eca
2 changed files with 13 additions and 4 deletions

5
Cargo.lock generated
View File

@@ -4332,9 +4332,14 @@ name = "kebab-nli"
version = "0.17.2"
dependencies = [
"anyhow",
"hf-hub",
"kebab-config",
"ndarray",
"ort",
"serde",
"tempfile",
"tokenizers",
"tracing",
]
[[package]]

View File

@@ -8,13 +8,17 @@ repository = { workspace = true }
description = "fb-41: NLI-based post-synthesis verification (XNLI mDeBERTa-v3). PR-9a = trait + scaffolding; ONNX inference lands in PR-9b."
[dependencies]
# PR-9a scope: kebab-config for the OnnxNliVerifier::new(&Config) signature
# the rag crate will call once PR-9d wires verification into ask_multi_hop.
# ort / tokenizers / hf-hub / ndarray are intentionally NOT depended on here
# — they sit in workspace.dependencies until PR-9b adds the real adapter.
# PR-9b: ONNX inference path activated. ort / tokenizers / hf-hub / ndarray
# all source from `[workspace.dependencies]` so the workspace pins a single
# version + feature set for the whole NLI + embed stack.
kebab-config = { path = "../kebab-config" }
anyhow = { workspace = true }
serde = { workspace = true }
ort = { workspace = true }
tokenizers = { workspace = true }
hf-hub = { workspace = true }
ndarray = { workspace = true }
tracing = { workspace = true }
[dev-dependencies]
tempfile = { workspace = true }