本文へスキップ
Kitbay
スキル

dspy

MIT2026年11月11日 更新262,606GitHubスターAPIキーが必要

An optional Hermes Agent skill, credited to Orchestra Research, for building language model programs with DSPy, the Stanford NLP framework that replaces hand-written prompts with declared inputs and outputs that can be tuned from data.

スキルの内容

An optional Hermes Agent skill, credited to Orchestra Research, for building language model programs with DSPy, the Stanford NLP framework that replaces hand-written prompts with declared inputs and outputs that can be tuned from data. It covers signatures, the Predict, ChainOfThought, ReAct and ProgramOfThought modules, the BootstrapFewShot, MIPRO and BootstrapFinetune optimisers, multi-step pipelines and retrieval systems, setting up Anthropic, OpenAI or local Ollama models, typed output and evaluation with custom metrics. Three reference files hold more examples. It needs Python with the dspy package and a model provider key or a local model; some class names in its examples may be older than the current DSPy release.

できること

  • Define DSPy signatures and modules
  • Optimise prompts from example data
  • Build retrieval and multi-step pipelines
  • Evaluate programs with custom metrics