技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
promptify【数据与研究】Routes Promptify's structured NLP task and evaluation workflows, including NER, classification, QA, custom Pydantic schemas, and dataset-based metrics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Promptify is a structured-output NLP library built on LiteLLM, Pydantic, and Jinja templates. Use this skill when a user wants to create, call, or debug Promptify task objects, build prompts, parse structured JSON output, or evaluate task outputs against labeled data.
If you need the full library surface, install the checkout in editable mode with the evaluation extra:
python -m pip install -e '.[eval]'
If you only need the task APIs and not ROUGE or the evaluation helpers, use:
python -m pip install -e .
Minimal no-network import checks:
python -c "from promptify import NER, Classify, QA, Summarize, Task, get_cost_summary; print('core-ok')"
python -c "from promptify.eval import evaluate; print('eval-ok')"
For a safe local smoke test that does not call any provider, run:
python scripts/check_promptify.py --mode all
Read references/repo-provenance.md before deciding whether this skill matches the current checkout or should be refreshed.
Read sub-skills/structured-tasks/SKILL.md when the request is about creating a task object, choosing built-in task classes, customizing prompts, using examples or labels, running batch or async calls, or debugging parser or provider failures.
This route also covers the shared runtime objects that support task execution, including ModelConfig, LLMEngine, Parser, PromptBuilder, get_cost_summary, and setup_logging.
Read sub-skills/evaluation/SKILL.md when the request is about load_dataset, evaluate, metric selection, CSV or JSON dataset formats, ROUGE, or interpreting evaluation failures.
references/overview.md for the current public import map and a quick orientation.references/troubleshooting.md for install, import, provider, parse, template, and legacy API mismatch issues.references/repo-provenance.md for the source snapshot and staleness baseline.The repository still contains older notebook and tutorial material that mentions Prompter, OpenAI, and Pipeline. Those names are archived examples, not the current public API. Use the current task classes and the evaluation helpers documented in the sub-skills.
references/repo-provenance.md and the root troubleshooting note.