TheSequence

TheSequence

Share this post

TheSequence
TheSequence
Edge 418: Meet The New DSPy: The Hot Framework to Build LLM Apps You Should Know About

Edge 418: Meet The New DSPy: The Hot Framework to Build LLM Apps You Should Know About

Created by Stanford researchers, the framework provides an interesting alternative to LangChain or LlamaIndex.

Aug 01, 2024
∙ Paid
12

Share this post

TheSequence
TheSequence
Edge 418: Meet The New DSPy: The Hot Framework to Build LLM Apps You Should Know About
2
Share
Created Using DALL-E

The universe of language model programming(LMP) frameworks has been expanding rapidly on the last few months. Frameworks such as LangChain or LlamaIndex have certainly achieved relevant levels of adoption within the LLM community and Microsoft’s Semantic Kernel is boosting an impressive set of capabilities. Recently, a new alternative known as DSPy came into the scene with a unique approach to LMP.

DSPy was created by Stanford University researchers with the goal of providing improved abstractions for different LMP tasks. DSPy prioritizes programming over prompting in an attempt to enable the foundation to create more sophisticated LMP apps. Part of the current set of limitations of LLMs is that they are not very effective at tasks such as control logic such as loops or conditional statements, and they also require fundamentally different constructs for tasks such as fine-tuning or knowledge-augmentation. DSPy attempts to tackle these problems with a programming-centric approach.

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Jesus Rodriguez
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share