Skip to content

Bump the pip group across 1 directory with 4 updates #1

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

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 4, 2025

Bumps the pip group with 4 updates in the / directory: langchain, langchain-community, langchain-core and langchain-experimental.

Updates langchain from 0.1.6 to 0.3.0

Release notes

Sourced from langchain's releases.

langchain-anthropic==0.3.0

Version 0.39.0 of the Anthropic Python SDK enables support for Python 3.13. This involved the deletion of a legacy client.count_tokens method. langchain-anthropic 0.3.0 drops support for token counting via this method on the Anthropic LLM.

Anthropic has replaced this functionality with the client.beta.messages.count_tokens() API. This release adds support for token counting using this API via ChatAnthropic.get_num_tokens_from_messages. This required adding an optional tools parameter to the signature of .get_num_tokens_from_messages.

Changes since langchain-anthropic==0.2.4

anthropic[major]: release 0.3.0 (#28063) anthropic[major]: support python 3.13 (#27916) anthropic[patch]: remove retired model from tests (#27965)

langchain-tests==0.3.0

Initial langchain-tests release

langchain-openai==0.3.0

langchain-openai==0.3 implements two breaking changes:

Structured output

We update the default method parameter for ChatOpenAI(...).with_structured_output(method=<method>) from method="function_calling" to method="json_schema".

For schemas specified via TypedDict or JSON schema, strict schema validation is disabled by default but can be enabled by specifying strict=True.

Note: conceptually there is a difference between forcing a tool call and forcing a response format. Tool calls may have more concise arguments versus generating content adhering to a schema. Prompts may need to be adjusted to recover desired behavior.

How to retain the 0.2 with_structured_output behavior after upgrading to 0.3

To change this behavior back, you can pass method="function_calling" to your with_structured_output calls that you want to switch the behavior back.

Expected errors

  1. Models that don’t support method="json_schema" (e.g., gpt-4 and gpt-3.5-turbo, currently the default model for ChatOpenAI) will raise an error unless method is explicitly specified. To recover the previous default, pass method="function_calling" into with_structured_output.

  2. Schemas specified via Pydantic BaseModel that have fields with non-null defaults or metadata (like min/max constraints) will raise an error. To recover the previous default, pass method="function_calling" into with_structured_output. See OpenAI's docs for supported schemas.

Optional parameters

We no longer implement non-null defaults for temperature, max_retires, and n, which are optional fields. In particular, we no longer specify a default temperature of 0.7.

The previous defaults can be set by specifying:

  • temperature=0.7
  • max_retries=2
  • n=1

langchain-community==0.2.19

Changes since langchain-community==0.3.6

... (truncated)

Commits

Updates langchain-community from 0.0.20 to 0.2.9

Commits

Updates langchain-core from 0.1.23 to 0.1.35

Commits

Updates langchain-experimental from 0.0.49 to 0.0.61

Commits

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the pip group with 4 updates in the / directory: [langchain](https://github.com/langchain-ai/langchain), [langchain-community](https://github.com/langchain-ai/langchain), [langchain-core](https://github.com/langchain-ai/langchain) and [langchain-experimental](https://github.com/langchain-ai/langchain-experimental).


Updates `langchain` from 0.1.6 to 0.3.0
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](langchain-ai/langchain@langchain-ibm==0.1.6...langchain==0.3.0)

Updates `langchain-community` from 0.0.20 to 0.2.9
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/commits/langchain-community==0.2.9)

Updates `langchain-core` from 0.1.23 to 0.1.35
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/commits)

Updates `langchain-experimental` from 0.0.49 to 0.0.61
- [Release notes](https://github.com/langchain-ai/langchain-experimental/releases)
- [Commits](https://github.com/langchain-ai/langchain-experimental/commits)

---
updated-dependencies:
- dependency-name: langchain
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: langchain-community
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: langchain-core
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: langchain-experimental
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 4, 2025
Copy link
Author

dependabot bot commented on behalf of github Feb 4, 2025

Superseded by #2.

@dependabot dependabot bot closed this Feb 4, 2025
@dependabot dependabot bot deleted the dependabot/pip/pip-e4a7cc5043 branch February 4, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants