Skip to content

feat: output parser and pydantic update #679

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

Merged

Conversation

LorenzoPaleari
Copy link
Contributor

As of langchain update to version 0.3, pydantic v1 is no longer supported and should be removed from code.

Changes:

  • Refactor of Output Parser code for cleanliness
  • Added ValueErrors when using unsupported schemas
  • Changed pydantic import from langchain_core.pydantic_v1 to pydantic

If the change is not desired, consider adding upper limit to langchain version

Copy link
Collaborator

@VinciGit00 VinciGit00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for the update, I did not notice about the langhcain's update

@VinciGit00 VinciGit00 merged commit e6e2ce6 into ScrapeGraphAI:pre/beta Sep 18, 2024
Copy link

🎉 This PR is included in version 1.20.0-beta.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version 1.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants