技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
dataset-and-resources【数据与研究】Create, inspect, validate, and convert Snips NLU datasets and reason about custom/built-in entities and language resources.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about Snips NLU dataset authoring, conversion, inspection, validation, custom entities, built-in entities, supported languages, or language resources.
This skill is for Snips NLU 0.20.2 / model format 0.20.0 behavior. It does not train engines, parse user text, persist models, download resources, or run network-backed setup.
SnipsNLUEngine, fit, parse, get_intents, get_slots, persist, and from_path: use the sibling ../engine-api/SKILL.md.generate-dataset, download, download-entity, download-language-entities, link, metrics, train, parse, or version commands: use ../cli-workflows/SKILL.md.type: intent or type: entity.language, intents, and entities.references/data-formats.md.references/resources-and-entities.md.python scripts/validate_snips_dataset.py --dataset dataset.json --explain
python scripts/snips_yaml_to_json.py --language en intent.yaml entity.yaml --output dataset.json
references/troubleshooting.md; keep fixes in the dataset files, then rerun validation.Dataset.from_yaml_files(language, filenames) converts one or more YAML files/streams into a dataset object whose .json property is the JSON training format.validate_and_format_dataset(dataset) accepts either a dataset object or JSON-like dict, checks the authoring schema, normalizes custom entity data, and returns a formatted dataset with validated: true.load_resources(name, required_resources=None) loads language resources by language/resource name, resource package, or directory path; do not download implicitly from this sub-skill.snips_yaml_to_json.py refuses to overwrite an existing output file unless --overwrite is provided.../cli-workflows/SKILL.md instead of attempting network access here.