DSPy

Programming, not prompting, Language Models

Created: by Pradeep GowdaUpdated:Aug 01, 2024Tagged: dspy · llm .

With DSPy – you can build your system using predefined modules, replacing intricate prompting techniques with straightforward, effective solutions. Khattab, Omar, Arnav Singhvi, Paridhi Maheshwari, Zhiyuan Zhang, Keshav Santhanam, Sri Vardhamanan, Saiful Haq, et al. DSPy: Compiling declarative language model calls into self-improving pipelines,” 2023. https://arxiv.org/abs/2310.03714.

Whether you’re working with powerhouse models like GPT-3.5 or GPT-4, or local models such as T5-base or Llama2-13b, DSPy seamlessly integrates and enhances their performance in your system.

Thumbnail: aaFnqYx9.png

Khattab tweet on Meijer leaving Meta
Khattab tweet on Meijer leaving Meta

via See also: Virtual Machinations: Leveraging the Linguistic Bytecode of Large Language Models to Emulate Programming Language VMs


Cheatsheet

A gentle intro to DSPY, 25 min video.

Autoblocks Blog - Collaboratively Test & Evaluate your DSPy App

DSPy on Databricks | Databricks