Imp, a full port of DSPy to the BEAM, surfaces on Hex
Serj Smorodinsky and Brett Kennedy, co-authors of a book on LLM applications, are running a 3-hour hands-on workshop on October 3 covering systematic prompt optimization with DSPy. The session frames prompting as engineering: participants build a baseline classifier, construct an eval dataset with task-specific metrics, then apply DSPy's few-shot and instruction-level optimization rather than hand-tuning prompts.
Serj Smorodinsky and Brett Kennedy, co-authors of a book on LLM applications, are running a 3-hour hands-on workshop on October 3 covering systematic prompt optimization with DSPy. The session frames prompting as engineering: participants build a baseline classifier, construct an eval dataset with task-specific metrics, then apply DSPy's few-shot and instruction-level optimization rather than hand-tuning prompts.
Maxime Rivest presented DSPy 3.5 and previewed DSPy 4.0, emphasizing the concept of separating task definitions (Signatures) from model implementations. This approach allows AI engineers to define tasks purely by inputs and outputs, then flexibly experiment with models, settings, and templates without altering the workflow. The talk highlights DSPy's evolution toward higher-level AI engineering abstractions.
Maxime Rivest presented DSPy 3.5 and previewed DSPy 4.0, emphasizing the concept of separating task definitions (Signatures) from model implementations. This approach allows AI engineers to define tasks purely by inputs and outputs, then flexibly experiment with models, settings, and templates without altering the workflow. The talk highlights DSPy's evolution toward higher-level AI engineering abstractions.
An arXiv paper introduces ClusterFewshot, a strategy combining semantic clustering with utility-aware scoring to select few-shot demonstrations for LLM workflows. Evaluated in DSPy-based pipelines, it reduces optimization cost while improving accuracy over bootstrap-based methods in prompt tuning and hybrid prompt-weight optimization.
An arXiv paper introduces ClusterFewshot, a strategy combining semantic clustering with utility-aware scoring to select few-shot demonstrations for LLM workflows. Evaluated in DSPy-based pipelines, it reduces optimization cost while improving accuracy over bootstrap-based methods in prompt tuning and hybrid prompt-weight optimization.
A framework that uses DSPy to automate prompt tuning and few-shot selection for RAG pipelines, supporting multi-stage retrieval with query rewriting, sub-query decomposition, metadata extraction, and hybrid retrieval via Weaviate. It solves the problem of manually optimizing RAG prompts for developers building retrieval-augmented generation systems.
A framework that uses DSPy to automate prompt tuning and few-shot selection for RAG pipelines, supporting multi-stage retrieval with query rewriting, sub-query decomposition, metadata extraction, and hybrid retrieval via Weaviate. It solves the problem of manually optimizing RAG prompts for developers building retrieval-augmented generation systems.
Hacker News discusses DSPy's 'program, don't prompt' approach to LLM development
Hacker News discusses DSPy's 'program, don't prompt' approach to LLM development