मुख्य सामग्री पर जाएँ
Skillpedia
टेस्टिंग14k · #11157

validate

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

यह स्किल Semantica में पाइपलाइन, निकाले गए डेटा, ग्राफ़ ढाँचे और ऑन्टोलॉजी की गुणवत्ता जाँचती है। यह उन लोगों के लिए है जो नतीजों पर असर डालने से पहले समस्याएँ ढूँढना चाहते हैं।

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

  • ✓जब आप डेटा पाइपलाइन चलाने से पहले उसका सेटअप जाँचना चाहते हैं।
  • ✓जब आप पक्का करना चाहते हैं कि निकाली गई इकाइयाँ और संबंध अच्छी गुणवत्ता के हैं।
  • ✓जब आपको किसी ग्राफ़ या ऑन्टोलॉजी के लिए एरर और चेतावनियों की जाँच-सूची चाहिए।

Skill का लिंक

https://github.com/semantica-agi/semantica/blob/main/plugins/skills/validate/SKILL.md

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

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

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

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

इस skill से मेरी मदद करो: https://github.com/semantica-agi/semantica/blob/main/plugins/skills/validate/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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

“क्या आप मेरे डेटा पाइपलाइन सेटअप में गड़बड़ियाँ जाँच सकते हैं, और बता सकते हैं कि किन चरणों में ज़रूरी निर्भरताएँ गायब हैं?”

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

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

एजेंट आपके चुने लक्ष्य, जैसे पाइपलाइन, एक चरण, ग्राफ़ या ऑन्टोलॉजी, के लिए मेल खाता validator चलाता है। वह एरर और चेतावनियों की सूची लौटाता है, साथ में चरणों के बीच की गायब निर्भरताएँ भी।

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

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

/semantica:validate

Validate pipeline and graph quality. Usage: /semantica:validate <target> [options]

$ARGUMENTS = target type + optional config or path.


pipeline [--config '<json>']

Validate a full pipeline builder configuration.

from semantica.pipeline.pipeline_builder import PipelineBuilder
from semantica.pipeline.pipeline_validator import PipelineValidator

builder = PipelineBuilder()
if config_json:
    import json
    builder.build_pipeline(json.loads(config_json))

# PipelineBuilder has its own quick validate
quick = builder.validate_pipeline()  # returns Dict

# PipelineValidator gives full ValidationResult(valid, errors, warnings)
# Does NOT raise — always returns a result object
validator = PipelineValidator()
result = validator.validate(builder)

# Also check inter-step dependencies
deps = validator.check_dependencies(builder)

Output:

Pipeline Validation:  VALID ✓  |  INVALID ✗
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Steps:    N registered
Valid:    M steps

Errors (K):
  ✗ [step_name] <error message>

Warnings (J):
  ⚠ [step_name] <warning message>

Dependencies:
  ✓ All dependencies resolved
  ✗ Step "<name>" depends on missing step "<dep>"

Result: <valid> — K errors, J warnings

step <step_name> [--type <type>] [--constraints '<json>']

Validate a single pipeline step.

from semantica.pipeline.pipeline_builder import PipelineBuilder
from semantica.pipeline.pipeline_validator import PipelineValidator
import json

builder = PipelineBuilder()
step = builder.get_step(step_name)

validator = PipelineValidator()
result = validator.validate_step(
    step=step,
    **json.loads(constraints_json) if constraints_json else {},
)

Output: same checklist format but scoped to a single step.


dependencies

Check all inter-step dependency resolution for the active pipeline.

from semantica.pipeline.pipeline_builder import PipelineBuilder
from semantica.pipeline.pipeline_validator import PipelineValidator

builder = PipelineBuilder()
validator = PipelineValidator()

deps = validator.check_dependencies(builder)

Output:

Dependency Graph:
  | Step | Depends On | Status |
  | step_A | — | ✓ |
  | step_B | step_A | ✓ |
  | step_C | step_X | ✗ MISSING |

Cycles detected: YES / NO
Missing steps:   [list]

extraction <file_path>

Validate extraction quality for a file — entity confidence, relation density, coverage.

from semantica.semantic_extract.extraction_validator import ExtractionValidator
from semantica.semantic_extract import (
    NamedEntityRecognizer,
    RelationExtractor,
)
from semantica.semantic_extract.cache import extraction_cache

extraction_cache.clear()  # prevent cross-invocation cache pollution

text = open(file_path).read()

ner = NamedEntityRecognizer()
rel = RelationExtractor()
entities = ner.extract(text)
relations = rel.extract(text)

validator = ExtractionValidator()
issues = validator.validate(entities, relations)

Output:

Extraction Validation: <file_path>
  Entities:    N extracted
  Relations:   M extracted
  Avg confidence: 0.83

Errors (K):
  ✗ <issue>

Warnings (J):
  ⚠ <warning>

Quality score: X/100

graph

Check schema conformance, referential integrity, and structural health.

from semantica.kg.graph_validator import GraphValidator
from semantica.context import ContextGraph

graph = ContextGraph()
validator = GraphValidator(graph)
result = validator.validate()

Output:

Graph Validation:
  Nodes:         N  |  Edges: M
  Node types:    K valid, J unknown
  
Referential integrity:
  ✗ Dangling edge: <source> → <missing target>

Schema conformance:
  ✗ Node "<id>" missing required property "<prop>"

Result: N errors, M warnings

ontology

Validate ontology consistency and evaluate competency questions.

from semantica.ontology import OntologyValidator

validator = OntologyValidator()
result = validator.validate()
cq_results = validator.evaluate_competency_questions()

Output:

Ontology Validation:
  Classes:      N
  Properties:   M
  Consistent:   YES ✓  |  NO ✗

Competency questions:
  ✓ "Can we find all instances of X?" — answered
  ✗ "Is Y a subclass of Z?" — failed: <reason>

Result: N consistency errors, M CQ failures

performance

Validate pipeline performance characteristics — bottlenecks, parallelism, and resource use.

from semantica.pipeline.pipeline_builder import Pipeli
अक्सर पूछे जाने वाले सवाल

क्या सत्यापन से रन रुक जाएगा?

नहीं। validators समस्याओं की सूची वाला नतीजा लौटाते हैं, रन को नहीं रोकते।

किसका सत्यापन हो सकता है?

पाइपलाइन, अलग-अलग चरण, निर्भरताएँ, निष्कर्षण की गुणवत्ता, ग्राफ़, ऑन्टोलॉजी और प्रदर्शन।

क्या नतीजे का सारांश मिलता है?

हाँ। हर जाँच valid या invalid नतीजे और एरर व चेतावनियों की गिनती के साथ खत्म होती है।

जानकारी

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

Validate Semantica pipelines, extraction quality, graph schemas, and ontology consistency. Returns structured error/warning checklists. Uses PipelineValidator, PipelineBuilder.validate_pipeline(), GraphValidator, and OntologyValidator. Sub-commands: pipeline, step, dependencies, extraction, graph, ontology, performance.

repo: semantica-agi/semantica

लोकप्रियता

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

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

0

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

कमेंट

  • …

इस repository की और skills

semantica

14k

यह आपके एजेंट को नॉलेज ग्राफ़ का पूरा टूलकिट देती है, जिसमें निष्कर्षण, तर्क, प्रोवेनेंस, ऑन्टोलॉजी, नीतियाँ और एक्सपोर्ट शामिल हैं।

डेटाडेटाबेस

causal

14k

यह आपके एजेंट को नॉलेज ग्राफ़ में कारण और प्रभाव के संबंध खोजने में मदद करती है, जिसमें कारण-श्रृंखला और 'अगर ऐसा होता' वाले सवाल शामिल हैं।

डेटाएनालिसिस और स्प्रेडशीट

change

14k

यह आपके एजेंट को दिखाती है कि नॉलेज ग्राफ़ पहले किसी तारीख पर कैसा था, और दो तारीखों या दो ऑन्टोलॉजी संस्करणों के बीच क्या बदला।

डेटाएनालिसिस और स्प्रेडशीट

decision

14k

यह आपके एजेंट को नॉलेज ग्राफ़ में निर्णय दर्ज करने, खोजने, समझाने और समीक्षा करने में मदद करती है, पहले नोट से लेकर उसके नतीजे तक।

डेटाएनालिसिस और स्प्रेडशीट

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