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 trying to replicate the flow of the multihop_finetune tutorial notebook for my use case where I want to finetune the T5 model on a custom dataset. While running...

The documentation states that '[f]or simple tasks, [a metric] could be just "accuracy" or "exact match" or "F1 score". This may be the case for simple classification or short-form QA...

Hi, I'd like to see functionality added to make it possible to provide multiple api bases that are later round-robined when consecutive requests are made. This would allow me to...

This commit is to remove unused kwargs that we include in the requests sent through `AzureOpenAI` class. This seems to fix this issue: https://github.com/stanfordnlp/dspy/issues/543

There are two dependency declarations for openai: - https://github.com/stanfordnlp/dspy/blob/c2d639fb1c1dafa7d6a12b3fe730b3564580fbfe/pyproject.toml#L79 - https://github.com/stanfordnlp/dspy/blob/c2d639fb1c1dafa7d6a12b3fe730b3564580fbfe/pyproject.toml#L25 I'm trying to install this into my poetry managed app and it's complaining about the one pinned to 0.28.1....

Python 3.12 has significant improvements for asyncio: https://docs.python.org/3/whatsnew/3.12.html "The [asyncio](https://docs.python.org/3/library/asyncio.html#module-asyncio) package has had a number of performance improvements, with some benchmarks showing a 75% speed up." I know dspy doesn't...

This updates the required python string and also updates fastembed to 0.2.2 which supports python 3.12 as well.

Fix for https://github.com/stanfordnlp/dspy/issues/570

I have been trying to use Azure OpenAI model (1.12.0) and i keep getting the Completions.create() got an unexpected keyword argument 'api_base'. It looks like within the Azure OpenAI class:...

add environmental variable ''DPS_CACHEBOOL' to activate or deactivate cache. By default True.