Arthur Greef

Results 19 issues of Arthur Greef

**The bug** I get the following error when running the code below. Is it just not possible to use AOAI with chat completion and tools anymore? Thanks. The model attempted...

bug

When using ProgramOfThought and code is generated with named conditionals like this: ```python Previous Code: from datetime import datetime data = { "ExpenseReport": "002", "ExpenseAmount": "USD30.0", "AuthorizationLevel": "94", "ExpenseDate": "2024-01-17",...

The `parse_code` method in the ProgramOfThought module has the following formatting statement that causes a syntax error. ```python code_block = re.sub( r"([a-zA-Z_]\w* *=.*?)(?=[a-zA-Z_]\w* *=)", r"\1\n", code_block, ) ``` Here is...

The following code is generated from the ProgramOfThought module. ```python from datetime import datetime data = { "ExpenseReport": "001", "ExpenseAmount": "USD30.0", "AuthorizationLevel": "116", "ExpenseDate": "2024-04-29", "SubmittedDate": "2024-05-15", "WorkLocation": "US", "ExpenseCategory":...

Just wondering if anyone has a Conformal Prediction library that wraps DSPy predictors?

A warning about using the `AzureOpenAI` is displayed in version `2.5.2`. The recommendation is to use `dspy.LM`. I get the serialize exception when I change this the client from this:...

**Is your feature request related to a problem? Please describe.** Version 2.5 of the DSPy library is not supported by the `openinference-instrumentation-dspy` library. **Describe the solution you'd like** Add support...

enhancement
language: python

Just wondering if anyone is working on, or knows of an implementation of, textgrad optimization applied to prompts for extracting a JSON key-value object from an input text.

If you have a signature like this: ```python class Text2Data(dspy.Signature): """ Act as an expert in extracting key information from text. Your task is to extract key information from an...