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

I was following the llamaindex cookbook and reached an error for the code ``` dspy_component = DSPyComponent(dspy.ChainOfThought(GenerateAnswer)) ``` The error trace showed that there was a pydantic validation error for...

Thanks for adding support to VLM. I was using [this](https://github.com/stanfordnlp/dspy/blob/main/examples/vlm/mmmu.ipynb) notebook.Tried with the `Qwen2-VL-7B-Instruct` and `Llama-3.2-11B-Vision-Instruct`, but in the script it's mentioned that `openai/meta-llama/` and `openai/Qwen/`. So that its asking...

Hi! It is me again :-) . As am trying out some basics of the DSPy some more I realised one thing: the currently is no option to set diff....

Make DatabricksRM compatible with Mosaic agent framework, which has some requirements on the return value, and require some extra setup code.

Currently, only you can only pass a single image at a time in a signature. E.g. this will work ```python class ImageSignature(dspy.Signature): image1: dspy.Image = dspy.InputField() image2: dspy.Image = dspy.InputField()...

A DSPy retriever module that uses Tavily's Search API to perform web searches and return relevant content. This retriever supports both basic and advanced search modes, general and news topics,...

Hello team, This PR implements a retriever for R2R (RAG-to-Riches) as a new retriever option in DSPy. R2R is a flexible RAG solution that combines vector search, hybrid search, and...

Hi there, I know that dspy uses LiteLLM and that langchain also has a memory rate limiter that you can pass into the chat model. However I can't figure what...

Setup list: - Bank77 dataset - Model as a single `dspy.ChainOfThoughtWithHint` - Use pydantic to regulate the signature. - MiproV2 optimizer. - Boosted accuracy from 66% to 77%, on the...

Page no longer exists. https://dspy-docs.vercel.app/deep-dive/optimizers/

documentation