Modules¶ API reference for DSPy modules. Select a page below. BestOfN ChainOfThought Flex Module MultiChainComparison Parallel Predict ReAct ReActV2 Refine RLM