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

Hello, I am new to dspy and play the demos one by one, it looks so fun! In the [Intro Notebook](https://github.com/stanfordnlp/dspy/blob/main/intro.ipynb), I changed the question to "What castle did Thomas...

Currently the way the instructions and format are passed to the LM uses a hardcoded template with `TemplateV2` as far as I understand. I've observed that depending on the model,...

Behavior 2.5

The chromadb version used in dspy.retrieve.chromadb_rm will not work with a current instance of chromadb. i.e. chromadb version used in dspy: 0.4.23 chromadb version if launching new chroma instance: 0.5.0...

When the ColBERT server returns an error in colbertv2_get_request_v2 the error message is not relayed to the calling function and the line that fails is not helpful for diagnosing the...

Adds an attempt to use the function supplied to `from_json` before running string parsing. This allows users to modify the pydantic's `model_validate_json` to customise the deserialization of the generation. Other...

# 📝 Description - Added new requirements.txt for the development, as we are not using poetry I just added this which has the requirements of the poetry for development and...

Hello everyone! I want to build a metric ta compares generated guidelines to reference guidelines and outputs a score. The input are `extracted_guidelines` and `generated_guidelines`. Importantly, these are **list**s of...

Behavior 2.5

I have been trying to extract data (title, question answered, entities, summary) from documents chunks. I believed typed predictors would be good for this, but I keep running into "Too...

Behavior 2.5

When will i18n be supported? For instance, in Chinese, Japanese, German, or French, I see that all the supporting phrases are in English, with no language settings available.

### Discussed in https://github.com/stanfordnlp/dspy/discussions/594 Originally posted by **hgoelen** March 7, 2024 Hello, For my task I am frequently confronted with content policy violation errors. This could certainly be expected, however...