dspy
dspy copied to clipboard
DSPy: The framework for programming—not prompting—language models
Description: When attempting to use the dspy.AzureOpenAI class with Azure AD authentication, I encounter the following error: OpenAIError: Missing credentials. Please pass one of api_key, azure_ad_token, azure_ad_token_provider, or the AZURE_OPENAI_API_KEY...
I'm using HFClientVLLM and set `num_threads=32` but the time it takes evaluate to finish goes up linear with the number of samples. This shouldn't be the case since vllm is...
The project is currently at `name = "pinecone-client" version = "2.2.4"` which does not support serverless indexes
Hello, I encountered an issue while using the **dsp/modules/gpt3.py** There is a problem in the following line: https://github.com/stanfordnlp/dspy/blame/d63d24f250c698459a9737da6bd337ce3f8d349c/dsp/modules/gpt3.py#L183 ``` completed_choices = [c for c in choices if c["finish_reason"] != "length"]...
I was just defining a signature like this: ```python class Signature(dspy.Signature): __doc__ = textwrap.dedent( """I gave my language model a task, but it failed. Figure out what went wrong, and...
Trim whitespace from doc strings cc @okhat See https://github.com/stanfordnlp/dspy/issues/1376
Hi, How can I save the traces locally as a file. I am running dspy and ArizePhoenix in a server and I don't have ability to access the hosted Phoenix...
MIPROv2 with multiple hop module results in error `IndexError: list index out of range`. Using the latest version: `dspy-ai==2.4.13` Error details: ``` IndexError Traceback (most recent call last) Cell In[185],...
This feature adds support for using [Unify AI](https://docs.unify.ai/basics/welcome) Using Unify gives support to a wide variety of AI Models with [1 single unified API key ](https://docs.unify.ai/universal_api/overview) Unify enables [routing and...