dspy icon indicating copy to clipboard operation
dspy copied to clipboard

DSPy: The framework for programming—not prompting—language models

Results 691 dspy issues
Sort by recently updated
recently updated
newest added

BootstrapFewShot and BootstrapKNN have been parallelized :) The diff is kinda messy since lines were moved around, would recommend just looking at the new file.

Minor, but yellow is a very hard to read text color on white background. ``` optimizer = dspy.MIPROv2( metric=dspy.evaluate.answer_exact_match, auto="medium", max_bootstrapped_demos=0, # ZERO FEW-SHOT EXAMPLES max_labeled_demos=0, # ZERO FEW-SHOT EXAMPLES...

Inspired by #1763 and to close #1767. Goal is to support images inside arbitrary pydantic objects and to eventually make it easy to add support for other modalities.

Hi Team, I am one of the maintainers of [OpenLIT](https://github.com/openlit/openlit) and we support Obserability for LLM apps built using DSPy, It is all OpenTelemetry-native so the traces and metrics can...

`format_turn` method is unnecessarily complex, we should consider refactoring it and only keep the necessary part. In additions, `format_turn` is an ambiguous name, we should find a better name.

## 📝 Changes Description This MR/PR contains the following changes: Created a TypedPredictorSignature class with a single function called create that takes the pydantic classes that define input and output...

Hi! I created a simple module and a set of 10 questions and answers to evaluate a single pdf loaded into chromadb. When evaluating using DSPy version 2.5.16 like ```python...

refactoring for cleaner retriever interface in DSPy

I have updated the MIPROv2 docs to include more detailed step wise information on how it works in depth. Please review and let me know if I have missed anything.