/awesome-dspy

An Awesome list of curated DSPy resources.

Awesome DSPy Awesome

A collection of awesome things regarding DSPy.

DSPy - A library for compiling declarative language model calls into self-improving pipelines.

Projects

  • XMC - Infer Retrieve Rank multi-label classification tasks with an extreme amount of classes (≥10,000 classes)
  • dspy-arxiv - Explore the use of DSPy for extracting features from PDFs
  • DSPyGen - A Ruby on Rails style framework for the DSPy (Demonstrate, Search, Predict) project for Language Models like GPT, BERT, and LLama.
  • dspy-inspector - DSPy program/pipeline inspector widget for Jupyter/VSCode Notebooks.
  • STORM - An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations. Paper
  • DSPy with FASTAPI - a straightforward example of building a FastAPI backend with DSPy capabilities.
  • DSPy OpenTOM - Exploration using DSPy to optimize modules to maximize performance on the OpenToM dataset.
  • Self Discover - SELF-DISCOVER: Large Language Models Self-Compose Reasoning Structures Paper Video
  • dspy-gradio-rag - RAG example using DSPy, Gradio, FastAPI
  • Synthesizer - Synthetic data generation colab.
  • Self Discover Colab - Self Discover demo using Colab.
  • Hurricane - Writing Blog Posts with Generative Feedback Loops!
  • DSPy Red Team - Red teaming / Finding a Prompt attack for an LLM using DSPy. Article
  • DSPy Indic - DSPy program for tasks in Indian Languages.
  • DSPy with LLamaIndex
  • DSPy with Arize-Phoenix
  • OpenInference DSPy Instrumentation

Blogs / Articles

Twitter Threads

Videos

Tutorials

Papers