소개
This skill bridges the gap between the Haystack orchestration framework and DSPy’s optimization engine, allowing developers to automatically tune prompts for RAG pipelines instead of relying on manual trial and error. It provides a structured workflow to wrap Haystack retrievers in DSPy modules, define custom metrics for evaluation, and extract optimized few-shot examples to re-integrate into production Haystack pipelines. This is ideal for teams looking to move from static, generic prompts to high-performance, data-validated LLM applications without abandoning their existing infrastructure.