Iterative Self-Refinement with dspy.RLM
Guide the user through using DSPy's RLM (Recursive Language Model) module. RLM lets the LM explore data programmatically in a sandboxed Python REPL, writing code to examine inputs, querying sub-LMs for semantic analysis, and iterating until it produces a final answer.
Experimental. RLM is marked as experimental in DSPy. The API may change in future releases.
Step 1: Gather context
Before building with RLM, clarify:
- **What data will the L
[Description truncada. Veja o README completo no GitHub.]