协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
prompt_iteration_viewer【开发与工程】Apply PromptSource-style templates across multiple examples and summarize browse, sourcing, and review diagnostics for prompt iteration.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when you need a UI-neutral version of PromptSource's browse/sourcing workflow: render prompt variations over examples, preserve diagnostics, and summarize coverage.
examples: JSON list of dataset example dictionaries.templates: JSON list with id, name, template, optional answer_choices, and metadata.choice_index: deterministic choice helper index.include_skipped: whether skipped rows should appear in output rows.A JSON report with rows, coverage, variation_summary, and errors.
Run:
python tests/test_prompt_iteration_viewer.py
python scripts/iterate_prompts.py --examples-json '[{"premise":"A dog runs","hypothesis":"An animal moves","label":0}]' --templates-json '[{"id":"t1","name":"nli","template":"{{premise}} Question: {{hypothesis}}? ||| {{answer_choices[label]}}","answer_choices":["Yes","No","Maybe"]}]'
This skill does not launch Streamlit or load remote datasets. It provides the mechanism behind browse/iteration diagnostics on supplied examples.