界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

indian-constitution

indian-constitution

【效率与协作】Query Indian Constitution articles and BNS 2023 (Bharatiya Nyaya Sanhita) criminal law sections using RAG with semantic search. Look up fundamental rights, directive principles, emergency provisions, and BNS offences with cited article/section numbers. Use when the user asks about Indian law, constitutional articles, fundamental rights, BNS sections,…

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: indian-constitution description: "Query Indian Constitution articles and BNS 2023 (Bharatiya Nyaya Sanhita) criminal law sections using RAG with semantic search. Look up fundamental rights, directive principles, emergency provisions, and BNS offences with cited article/section numbers. Use when the user asks about Indian law, constitutional articles, fundamental rights, BNS sections, IPC equivalents, or legal questions about India." compatibility: Created for Zo Computer metadata: author: buckbuckbot.zo.computer category: legal tags: constitution, india, law, legal, bns, ipc, lawyer, rag

Indian Constitution + BNS Lawyer Skill

RAG-based legal assistant for Indian constitutional law and BNS 2023 criminal law.

Quick Start

# Query Constitution
python3 scripts/query.py "What are fundamental rights?"

# Query BNS
python3 scripts/query.py "What is Section 103 BNS?"

# Get more results
python3 scripts/query.py "Emergency provisions" -k 10

Workflow

  1. Query — run python3 scripts/query.py "<question>" with a natural-language legal question
  2. Review citations — responses include Article/Section numbers; verify against official sources
  3. Refine — use -k 10 (or higher) if the initial results miss the relevant provision
  4. Cross-reference — query both Constitution and BNS terms when a question spans civil and criminal law

What You Can Ask

Constitutional Law

  • "What are fundamental rights under Part III?"
  • "How is the President elected?"
  • "Emergency provisions in Constitution"
  • "Article 370 and special status"

BNS 2023 (Replaced IPC)

  • "What is punishment for murder under Section 103 BNS?"
  • "Hate speech laws in BNS"
  • "Sedition under Section 150 BNS"
  • "Domestic violence sections in BNS"

Data Coverage

DocumentDetails
Constitution of India402 pages, 395 Articles (as of July 2024, 106th Amendment)
BNS 2023102 pages, 358 Sections (effective July 1, 2024)
Total Corpus1.27M characters, 2,265 chunks
Embeddingall-MiniLM-L6-v2 (384 dim), ChromaDB, cosine similarity

Important Notes

  1. Not Legal Advice — this skill provides legal information, not professional counsel.
  2. Citations — all responses include relevant Article/Section numbers for verification.
  3. Source — Constitution text from https://cdnbbsr.s3waas.gov.in/
我的收藏