-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Langchain Integration: broken on Optimizer #1091
Comments
dat-boris
added a commit
to dat-boris/dspy
that referenced
this issue
Jun 1, 2024
dat-boris
added a commit
to dat-boris/dspy
that referenced
this issue
Jun 1, 2024
okhat
added a commit
that referenced
this issue
Jun 4, 2024
fix(dspy): fix langchain predict (#1091)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
Following the notebook at https://github.com/stanfordnlp/dspy/blob/main/examples/tweets/compiling_langchain.ipynb
AttributeError: 'FieldInfo' object has no attribute 'finalize'"
)optimizer.compile
:Seems like optimizer was expecting equals method (maybe with
dspy.Signature
?) - it is not there for type ofdsp.template_v3.Template
.Related to upgrade potentially at #451
The text was updated successfully, but these errors were encountered: