promptulate
promptulate copied to clipboard
:arrow_up: Bump langchain from 0.1.20 to 0.2.12
Bumps langchain from 0.1.20 to 0.2.12.
Release notes
Sourced from langchain's releases.
langchain==0.2.12
Changes since langchain==0.2.11
langchain[patch]: Release 0.2.12 (#24954) langchain[minor]: Upgrade ambiguous root_validator to
@pre_init (#24895) langchain[patch]: Update unit tests to workaround a pydantic 2 issue (#24886) langchain[patch]: Add missing type annotations (#24889) langchain[patch]: fix ollama in init_chat_model (#24832) langchain[patch]: init_chat_model() to import ChatOllama from langchain-ollama and fallback on langchain-community (#24821) langchain: revert "init_chat_model() to support ChatOllama from langchain-ollama" (#24819) langchain: init_chat_model() to support ChatOllama from langchain-ollama (#24818) langchain: Make OutputFixingParser.from_llm() create a useable retry chain (#24687) community[minor]: Self query retriever for HANA Cloud Vector Engine (#24494) langchain: fix TrajectoryEvalChain.prep_inputs (#19959) langchain[patch]: init_chat_model support ChatBedrockConverse (#24564)
Commits
7b08de8langchain[patch]: Release 0.2.12 (#24954)245cb5acore[patch]: Release 0.2.27 (#24952)199e9c5core[patch]: Fix tool args schema inherited field parsing (#24936)fba65bainfra: test core on py 3.9, 10, 11 (#24951)4092876core: docstrings `BaseCallbackHandler update (#24948)6e45dbadocs: fix redirect (#24950)ad16eedcore[patch]: runnable config ensure_config deep copy from var_child_runnable…...3ab09d8docs[patch]: Adds components for prereqs, compatibility, fix chat model tab i...9cb69a8docs: update retriever template, add arxiv retriever (#24947)db3ceb4partners/mongodb: Improved search index commands (#24745)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by CodeRabbit
-
New Features
- Updated the
langchaindependency to allow for newer versions, providing access to new features and enhancements.
- Updated the
-
Bug Fixes
- Adjusted version constraints to improve compatibility and stability with the broader range of
langchainversions.
- Adjusted version constraints to improve compatibility and stability with the broader range of
[!IMPORTANT]
Review skipped
Auto reviews are limited to specific labels.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
Walkthrough
The change updates the version specification for the langchain dependency in the pyproject.toml file. The version constraint has been modified from ^0.1.1 to >=0.1.1,<0.3.0, expanding the range of acceptable versions. This allows for the integration of newer releases while maintaining backward compatibility, potentially enhancing functionality and feature set.
Changes
| File | Change Summary |
|---|---|
| pyproject.toml | Updated langchain version from ^0.1.1 to >=0.1.1,<0.3.0 |
Sequence Diagram(s)
sequenceDiagram
participant User
participant Application
participant LangChain
User->>Application: Request feature
Application->>LangChain: Use langchain version
LangChain-->>Application: Return response
Application-->>User: Deliver result
Poem
In fields of code I hop and play,
With versions dance, we pave the way.
From0.1.1to newer days,
A world of features, bright arrays!
So let us cheer, for changes sweet,
A leap for all, a code-filled treat! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>.Generate unit testing code for this file.Open a follow-up GitHub issue for this discussion.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:@coderabbitai generate unit testing code for this file.@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai generate interesting stats about this repository and render them as a table.@coderabbitai show all the console.log statements in this repository.@coderabbitai read src/utils.ts and generate unit testing code.@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.@coderabbitai help me debug CodeRabbit configuration file.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (invoked as PR comments)
@coderabbitai pauseto pause the reviews on a PR.@coderabbitai resumeto resume the paused reviews.@coderabbitai reviewto trigger an incremental review. This is useful when automatic reviews are disabled for the repository.@coderabbitai full reviewto do a full review from scratch and review all the files again.@coderabbitai summaryto regenerate the summary of the PR.@coderabbitai resolveresolve all the CodeRabbit review comments.@coderabbitai configurationto show the current CodeRabbit configuration for the repository.@coderabbitai helpto get help.
Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
CodeRabbit Configuration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.
Superseded by #874.