मुख्य सामग्री पर जाएँ
Skillpedia
रिसर्च20k · #10381

lumen-citations

यह क्या करती है

यह स्किल बताती है कि AI को Lumen में दस्तावेज़ के किसी अंश का हवाला कैसे देना चाहिए। Lumen कानूनी दस्तावेज़ों की समीक्षा का टूल है। यह वकीलों और कानूनी टीमों के लिए है जिन्हें हर दावे को उसके स्रोत से जोड़ना होता है।

कब इस्तेमाल करें

  • ✓जब AI किसी अनुबंध या दूसरे दस्तावेज़ के बारे में दावा लिखे और उसका स्रोत देना हो।
  • ✓जब Lumen समीक्षा में कोई हवाला not found दिखे।
  • ✓जब आपको चाहिए कि हर उद्धरण शब्द-दर-शब्द दस्तावेज़ से मेल खाए।

Skill का लिंक

https://github.com/kortix-ai/suna/blob/dev/apps/white-label/lumen/agent-kit/skills/lumen-citations/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/kortix-ai/suna/blob/dev/apps/white-label/lumen/agent-kit/skills/lumen-citations/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे सवाल का जवाब दीजिए कि देनदारी की सीमा क्या है, और ठीक वह धारा बताइए जहाँ से यह आता है।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

AI खोज से पैराग्राफ़ ढूँढता है, उसे संदर्भ में पढ़ता है, जिन शब्दों पर वह निर्भर है उन्हें हूबहू कॉपी करता है, और समाप्त करने से पहले citation जाँच चलाता है। कोई भी गड़बड़ी पहले ठीक की जाती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Citations

Lumen shows every citation to a lawyer next to the source passage, and checks it against the source before the lawyer sees it. A citation that fails the check is shown as "Citation not found". Get it right the first time.

The object

{ "doc_id": "<id from lumen docs>", "a": "p3.12", "quote": "verbatim text from that paragraph" }
  • a is the paragraph anchor: p<page>.<n>. Take it from lumen read or lumen search. Never compute it.
  • quote is copied character for character from ONE paragraph: at most 300 characters, no "..." inside, no paraphrase, case kept.
  • Quote the words that prove the claim, not the whole paragraph. 8 to 40 words is right.

Get anchors

lumen search --matter <matter_dir> --query "limitation of liability capped"   # hits: doc_id, a, snippet
lumen read --doc <doc_id> --anchor p3.12 --context 1                           # the paragraph and its neighbours
lumen read --doc <doc_id>                                                      # the whole document

Check before you finish

echo '{"citations": [{"doc_id": "...", "a": "p3.12", "quote": "..."}]}' | lumen cite check
Code Meaning Fix
not_found The quote is not in the document Copy the exact words from lumen read output
wrong_anchor The quote is in another paragraph (fixed_anchor) Use fixed_anchor
too_long Over 300 characters Quote fewer words
unknown_doc No such document Use a doc_id from lumen docs

lumen result write runs the same check on every citation in a result and refuses the file until each passes.

In chat answers

Write each citation as a Markdown link after the claim: [1](/cite?d=<doc_id>&a=p3.12&q=<url-encoded quote>). lumen cite check prints this link as link for every citation that passes: paste it, do not encode a quote by hand. A bare [1] with no link is not a citation, and Lumen marks the answer as unchecked. Number them in order. Lumen shows each link as a numbered chip that opens the quoted paragraph. Outside the links, name a document by its filename, never by its doc_id.

Examples

Good:

  • {"doc_id": "k17", "a": "p2.9", "quote": "Neither party's liability under or in connection with this Agreement"} - exact words, one paragraph.
  • {"doc_id": "k17", "a": "p1.4", "quote": "renews automatically for successive periods of one (1) year"}.
  • {"doc_id": "k22", "a": "p1.6", "quote": "the Customer is entitled to service credits"}.

Bad:

  • "quote": "liability is unlimited" - a paraphrase. The document says "shall be limited or capped in amount".
  • "quote": "shall not exceed ... twelve (12) months" - an ellipsis inside a quote.
  • "a": "3.12" - not an anchor. Anchors look like p3.12.
अक्सर पूछे जाने वाले सवाल

कौन-सी बात citation को विफल करती है?

ऐसा उद्धरण जो दस्तावेज़ में न हो, या जो अपने एंकर से अलग पैराग्राफ़ में हो, वह जाँच में फ़ेल होता है।

उद्धरण कितना लंबा होना चाहिए?

केवल उतने शब्द जो दावे को साबित करें, आमतौर पर 8 से 40 शब्द, और 300 अक्षरों से ज़्यादा कभी नहीं।

क्या AI पैराग्राफ़ नंबर खुद बनाता है?

नहीं। स्किल कहती है कि एंकर पढ़ने या खोज के नतीजे से लिए जाएँ, उनकी गणना कभी न की जाए।

जानकारी

लेखक का मूल विवरण

How Lumen cites a document - the citation object, how to get anchors, quote rules and `lumen cite check`. Load before writing any claim about a document.

repo: kortix-ai/suna

लोकप्रियता

GitHub स्टार
20k
रैंकिंग में स्थान
#10381
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills