chore: update dependencies for langchain and related packages #165
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates dependencies across several modules to their latest major versions, particularly for the LangChain ecosystem, and refactors imports to match new package structures. These changes ensure compatibility with the latest APIs and improve maintainability. The most important changes are grouped below:
Dependency Upgrades (LangChain Ecosystem & Related Libraries):
langchain,langchain-community,langchain-core,langchain-openai,langchain-qdrant,langchain-ollama,langchain-text-splitters, andlangfuseto their latest major versions in multiplepyproject.tomlfiles, ensuring compatibility with breaking changes and new features. [1] [2] [3] [4] [5]langchain-experimental,python-dateutil, and related libraries for consistency and security. [1] [2]Import Refactoring:
langchain.text_splittertolangchain_text_splittersin several modules to match the new package structure. [1] [2] [3]langchain.promptstolangchain_core.promptsin prompt template modules and tests, ensuring proper usage of the latest API. [1] [2] [3] [4] [5]These changes are necessary to keep the codebase up to date and compatible with the latest versions of the LangChain ecosystem and its dependencies.