Skip to content
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

Samples: Update Langchain dependencies and fix Pydantic deprecation errors #588

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Raj725
Copy link
Collaborator

@Raj725 Raj725 commented Oct 25, 2024

  • Fix Pydantic deprecation errors. The current code throws the following error after the Pydantic upgrade:
langchain/lib/python3.9/site-packages/pydantic/main.py", line 1146, in json
    raise TypeError('`dumps_kwargs` keyword arguments are no longer supported.')
TypeError: `dumps_kwargs` keyword arguments are no longer supported.
  • Update Langchain package dependencies to versions compatible with Pydantic v2

@Raj725 Raj725 force-pushed the samples/fix-pydantic-deprecated-methods branch from 4c1d51e to d501760 Compare October 28, 2024 05:49
@Raj725 Raj725 changed the title Samples: Fix Pydantic deprecation errors and correct input handling Samples: Fix Pydantic deprecation errors Oct 28, 2024
@Raj725 Raj725 changed the title Samples: Fix Pydantic deprecation errors Samples: Update Langchain dependencies and fix Pydantic deprecation errors Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant