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

It would be nice to have ReAct returning the actions in the response, to know which tools were used to generate the answer. As now, ReAct only returns the observations,...

Hi, I'm using DSPy for structured information from chunks of large documents. Often, I run into a max_tokens error while using gemini-1.5-pro which has a max_output_token limit of 8,192 tokens....

Behavior 2.5

The current regex pattern used to extract the __init__ method content doesn't account for return type annotations, specifically -> None. This causes an error when processing classes with annotated __init__...

I feel like at times, DSPy programming can feel a little difficult since the programming model used for this style of LM programming is unfamiliar to software engineers, and that...

With LiteLLM proxy, the embedding model that LiteLLM supported can be used in DSPY

I word for word copied the tutorial for using DSPY Copro to optimize the hotpot example on the dspy website, but it didn't work. ``` from dsp import AWSAnthropic import...

So I wanted to know if you guys can provide any resources on best practices around metrics for DSPy. The LLM program I am optimizing generated Python code. So I...

According to the comment if users are not specifying `prompt_model` and `task_model`, the globally configured LM will be used. However, it seems not being the case while executing the code:...