Add clausefinder_3gpp example: clause-cited 3GPP spec Q&A with an abstention gate - #33
Open
chinthave657 wants to merge 1 commit into
Open
Add clausefinder_3gpp example: clause-cited 3GPP spec Q&A with an abstention gate#33chinthave657 wants to merge 1 commit into
chinthave657 wants to merge 1 commit into
Conversation
…tention gate A telecom-domain RAG example over the public GSMA/3GPP corpus: clause-aware chunking (retrieved text carries citable references like [TS 38.331 §5.3.5.3]), a calibrated cosine abstention gate so the agent refuses out-of-corpus questions instead of answering from prior knowledge, and all-NVIDIA endpoints (nemotron-3-nano-30b-a3b agent, nemotron-3-embed-1b embeddings) with native tool calling. Includes an offline pytest suite for the chunker, index round-trip, search, and abstention formatting; both the cited-answer and abstain paths verified end-to-end with nat run against nvidia-nat 1.8. Signed-off-by: Venkat Chintha <chinthave657@users.noreply.github.com>
chinthave657
force-pushed
the
add-clausefinder-3gpp-example
branch
from
August 27, 2026 16:34
0bdf2ab to
dc6c7c2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
A telecom-domain RAG example over the public GSMA/3GPP corpus, demonstrating two patterns not covered by existing examples:
[TS 38.331 §5.3.5.3], and the agent cites clauses in its answers.All-NVIDIA endpoints:
nvidia/nemotron-3-nano-30b-a3b(agent, native tool calling) +nvidia/nemotron-3-embed-1b(embeddings) via build.nvidia.com — no local GPU. No spec text ships in the repo; users download the corpus themselves from the public GSMA dataset.Distilled from my larger open-source project ClauseFinder (hybrid retrieval + deterministic citation validation + NeMo Guardrails on the same corpus).
Testing
5.3.5.13b), breadcrumbs, index round-trip + corruption detection, cosine search, citation formatting, abstention message.nat runagainst nvidia-nat 1.8: in-corpus question returns a clause-cited answer; out-of-corpus question ("Bluetooth Class 1 power") abstains. Real outputs are in the example README.ruff+yapfclean against the repo config; SPDX headers on all files.