{"product_id":"9781633435018","title":"Building LLM Applications with DSPy: Replacing manual prompts with systematic optimization","description":"\u003ctable\u003e\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd style=\"\"\u003e\u003cstrong\u003eAuthor\/Contributor(s):\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"\"\u003eSmorodinsky, Serj; Kennedy, Brett\u003cbr\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"\"\u003e\u003cstrong\u003ePublisher:\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eManning\u003cbr\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"\"\u003e\u003cstrong\u003eDate:\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e10\/27\/2026\u003cbr\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"\"\u003e\u003cstrong\u003eBinding:\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"\"\u003ePaperback\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"\"\u003e\u003cstrong\u003eCondition:\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"\"\u003eNEW\u003cbr\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\u003c\/table\u003e\u003cb\u003eGet the eBook free when you register your print book at Manning.\u003c\/b\u003e\u003cbr\u003e\u003cbr\u003eStatic, over-engineered prompts quickly lose effectiveness as models and data change. DSPy replaces inflexible text-based prompts with dynamic contract-based Python code, so your prompts can freely adapt and scale. In \u003ci\u003eBuilding LLM Applications with DSPy\u003c\/i\u003e, AI engineers \u003cb\u003eSerj Smorodinsky\u003c\/b\u003e and \u003cb\u003eBrett Kennedy\u003c\/b\u003e introduce the powerful DSPy framework and show you how it can revolutionize the way you think of prompt and context engineering. In this practical guide, you’ll learn how DSPy automatically optimizes context, evaluates prompt effectiveness, and automatically tweaks your prompts as models drift and change. As you go, you’ll get tips and techniques to maintain stable inference results as your apps and agents evolve.\u003cbr\u003e \u003cbr\u003e\u003ci\u003eBuilding LLM Applications with DSPy\u003c\/i\u003e introduces DSPy best practices you can adopt to create reliable, production-ready systems through proper task definition, evaluation, and optimization. Practical to the core, this book helps you construct a full professional portfolio of AI applications, including an LLM-based classification system, a summarizer, and a RAG-based application. You'll build multi-step workflows using DSPy's modular system, finally culminating in fully agentic pipelines, all without writing a single prompt by hand. A DSPy contributor, author Serj Smorodinsky speaks authoritatively about how to get the most out of this elegant tool. And, as with every Manning book, you’ll find a carefully constructed learning path, readable text, lots of helpful graphics, and our promise that the details are correct and reliable.\u003cbr\u003e \u003cbr\u003e \u003cb\u003eWhat's inside\u003c\/b\u003e\u003cbr\u003e \u003cbr\u003e • Define prompts as Python classes\u003cbr\u003e • Optimize prompts automatically for higher accuracy\u003cbr\u003e • Structure complex tasks into simple modules\u003cbr\u003e \u003cbr\u003e\u003cb\u003eAbout the reader\u003c\/b\u003e\u003cbr\u003e \u003cbr\u003e For anyone working directly with LLMs, with basic Python skills.\u003cbr\u003e \u003cbr\u003e \u003cb\u003eAbout the author\u003c\/b\u003e\u003cbr\u003e \u003cbr\u003e \u003cb\u003eSerj Smorodinsky\u003c\/b\u003e is a contributor to DSPy, a data scientist, and an AI engineer with over ten years of combined experience in software development and data science. His work spans NLP for customer-service related conversational AI, agentic workflow automation, and LLM evaluation, with hands-on experience leading teams to build chatbots and retrieval-augmented systems for enterprise clients. He also teaches agentic systems and data science in production at Nebius Academy (formerly Y-Data School of Data Science).\u003cbr\u003e \u003cbr\u003e\u003cb\u003eBrett Kennedy\u003c\/b\u003e is a data scientist with over thirty years of software development experience and more than ten in data science. He is a regular contributor to open source projects and an author of data science blog articles. He is also the author of Outlier Detection in Python.","brand":"Manning","offers":[{"title":"Default Title","offer_id":48600313069823,"sku":"9781633435018","price":59.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0452\/0886\/2873\/files\/9781633435018_s600x595.jpg?v=1780335421","url":"https:\/\/massivebookshop.com\/de\/products\/9781633435018","provider":"MASSIVE BOOKSHOP","version":"1.0","type":"link"}