Download Latest Version 3.0.0b3 source code.tar.gz (14.9 MB)
Email in envelope

Get an email when there's a new version of DSPy

Home / 3.0.0b2
Name Modified Size InfoDownloads / Week
Parent folder
3.0.0b2 source code.tar.gz 2025-06-30 14.9 MB
3.0.0b2 source code.zip 2025-06-30 15.0 MB
README.md 2025-06-30 7.4 kB
Totals: 3 Items   30.0 MB 1

What's Changed

Modules & Adapters * Remove dspy.Program alias by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8392 * Clean up ChainOfThoughtWithHint in DSPy 3.0 by @Hangzhi in https://github.com/stanfordnlp/dspy/pull/8395 * Change the output interface of evaluate by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8003 * Add format to ToolCalls by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8455 * Allow reusing the stream listener by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8461

Bug Fixes * Fix the issue that StreamListener strip out space after the start identifier by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8360 * Fix the streaming test by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8367 * fix bedrock streaming token tracking by @BTripp1986 in https://github.com/stanfordnlp/dspy/pull/8431 * Allow exception to pass through in JSONAdapter by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8445 * Support async path for ChatAdapter and JSONAdapter by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8419 * Fix PEP 604 union types when using Class Signatures for ChainOfThought by @erandeutsch in https://github.com/stanfordnlp/dspy/pull/8465

QoL * Improve error message on invalid lm setup by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8378 * Show warning if forward is directly called by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8380

Style * Small style fix on forward call warning by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8381 * Add quote rule to the lint rules by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8383 * Refactor root init file by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8385 * Add missing rule comment by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8398 * Consistently use double quotes in DSPy docsite landing page by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8447

Maintenance * Remove pandas and datasets from core dependencies by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8274 * Update dspy version in uv lock by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8384 * Remove Hyperparameter class by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8386 * Remove unused multi-hop state files by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8389 * Remove unused postprocess of param name by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8387 * Remove experimental module by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8391 * Remove commented out assertions file by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8388 * Clean up unnecessary ruff exclude by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8399 * Remove commented out old dotdict by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8401 * Remove branch installation instruction by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8404 * Remove dspy.settings related to dspy.Assertion by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8397 * Remove unnecessary pre-commit exclusion by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8405 * Rename modules to module by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8407 * Move internal_dspy outside dspy module by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8400 * Remove aws extra dep group by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8412 * Move dsp/metrics into evaluate/metrics by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8402 * Fix signature input type by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8413 * Disable doc-push on forked repo by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8415 * compute cache key once by @poudro in https://github.com/stanfordnlp/dspy/pull/8394 * Add CLAUDE.local.md to .gitignore by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8420 * Remove datasets installation from the Getting Started I by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8418 * Add gemini to LM provider by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8417 * change the default model to llama-4 for databricks provider by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8414 * Move litellm cache testing under tests/client and remove unnecessary tests by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8396 * Fix the error that status message streaming was blocking by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8432 * Add real world tutorial for email extraction by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8426 * Document comparison operations of dspy.Prediction by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8437 * Drop Python 3.9 support by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8456 * Add support for PEP 604 union types in inline signatures by @erandeutsch in https://github.com/stanfordnlp/dspy/pull/8449 * Fix Lint by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8458 * Update lockfile by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8459 * Typo fix by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8462

Documentation * [update docs] init gsm8k = GSM8K() by @codingDuan in https://github.com/stanfordnlp/dspy/pull/8363 * Add missing hooks to the tutorial of observability by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8368 * Add a tutorial on customizing modules by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8370 * Update the version to 3.0.0 in model saving doc by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8409 * Automatic doc update by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8476 * Fix mkdoc warnings by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8410 * Expand sidenav items by default by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8411 * Add real world example with yahoo finance Langchain tool by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8428 * Add memory agent tutorial by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8427 * Add real-world example overview page by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8442 * Remove unsupported options of Plugin 'material/search' by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8423 * Relax configure allowance in async tasks by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8444 * Add tutorial for text based game by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8451 * Add a tutorial for generating a code example from doc by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8450 * Add llms.txt generation tutorial by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8421

New Contributors

Full Changelog: https://github.com/stanfordnlp/dspy/compare/3.0.0b1...3.0.0b2

Source: README.md, updated 2025-06-30