Files
magnus919_agent-skills/dspy/references/validation-audit.md
T
Magnus Hedemark 6c193ae2d8 enrich: 4 skills v1.1.0 — source validation, deepened references, worked examples
DSPy v1.1.0: validation audit, worked RAG compilation example, expand ref table
Haystack v1.1.0: validation audit, file converters/YAML/component types, +2 refs
CrewAI v1.1.0: validation audit, unified Memory system, Flows docs, +3 refs
AutoGen v1.1.0: validation audit, v0.4 migration guide, AgentTool, streaming, +2 refs

All API surfaces validated against official docs.
2026-07-09 15:15:17 -04:00

31 lines
1.4 KiB
Markdown

# DSPy Skill — Research Validation Audit
**Date:** 2026-07-09
**Sources:** dspy.ai, github.com/stanfordnlp/dspy
## Claims Verified Correct
| Claim | Source | Status |
|-------|--------|--------|
| `dspy.Predict(signature)` — direct prediction | dspy.ai docs | ✓ |
| `dspy.ChainOfThought(signature)` — with reasoning | dspy.ai docs | ✓ |
| `dspy.ReAct(signature, tools=tools, max_iters=10)` — tool-use agent | dspy.ai ReAct page | ✓ |
| Custom module via `class MyModule(dspy.Module)` with `forward()` | dspy.ai custom_module tutorial | ✓ |
| BootstrapFewShot, BootstrapRS, MIPROv2, GEPA, COPRO optimizers | dspy.ai optimizer guide | ✓ |
| `DSPY_CACHEDIR` for current cache, `DSP_CACHEDIR` for legacy | dspy.ai FAQ | ✓ |
| `_compiled = True` flag prevents sub-module re-optimization | dspy.ai optimizer guide | ✓ |
| `.compile()` returns new copy, original not mutated | dspy.ai optimizer guide | ✓ |
| Tool functions need docstring + type hints | dspy.ai customer_service_agent tutorial | ✓ |
## Claims Verified and Corrected
| Claim | Correction | Source |
|-------|-----------|--------|
| `max_iters` parameter on ReAct | Confirmed: exists, default not documented | dspy.ai ReAct page |
## Missing from Skill (Addressed in This Enrichment)
- Worked example showing full RAG compilation with expected output
- `max_iters` on ReAct documented
- Custom agent pattern (not just ReAct — full Module subclass)