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

Any idea why this below import error? ``` >>> import dspy Traceback (most recent call last): File "", line 1, in File "/home/shared/.miniconda3/envs/py10cuda117/lib/python3.10/site-packages/dspy/__init__.py", line 3, in from .signatures import *...

A parquet file loader would be a convenient addition to the dataloader class. I particularly like that parquet files preserve types better than a csv file. The primary change is...

Merging main with backend-refactor to accomodate for new tests integrations and signatures.

I would like to set up some modules using DSPy as Azure Function App functions. Hit a roadblock: I get an error when DSPy attempts to create/write to "openai_usage.log": "Result:...

Hey, I'm trying to use my LLM on vLLM server which is exposed as an API. Usually, I create an openai LLM instance with Langchain like below, and it works...

The recent PR #449 opened by @smwitkowski refactored ChromadbRM constructor to use collection default embedding function with the syntax "self._chromadb_collection.embedding_function". But ChromaDB collection object has no such attribute and raises...

I am wondering if the returns in evaluate.py __code__ ``` if return_all_scores and return_outputs: return round(100 * ncorrect / ntotal, 2), results elif return_all_scores: return round(100 * ncorrect / ntotal,...

I noticed that on using Cot with BootstrapFewShotWithRandomSearch, the selected or generated(?) demos in the prompt do not have reasoning, whereas the standard BootstrapFewShot has reasoning in all its demos...

I am trying to load language model in dspy framework and LLM I am trying to use is the "databricks-mixtral-8x7b-instruct" served on databricks as endpoint. How I can integrate dspy...

adapters

I encountered a **KeyError** when attempting to save the **Chain of Thought** model. The error trace is as follows: ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) Cell In[71], line...