CryptoSpiel.com
No Result
View All Result
  • Home
  • Live Crypto Prices
  • Live ICO
  • Exchange
  • Crypto News
  • Bitcoin
  • Altcoins
  • Blockchain
  • Regulations
  • Trading
  • Scams
  • Home
  • Live Crypto Prices
  • Live ICO
  • Exchange
  • Crypto News
  • Bitcoin
  • Altcoins
  • Blockchain
  • Regulations
  • Trading
  • Scams
No Result
View All Result
CryptoSpiel.com
No Result
View All Result

LangChain v0.3 Released With Key Upgrades for Python and JavaScript

September 16, 2024
in Blockchain
Reading Time: 2 mins read
A A
0
LangChain Introduces Self-Improving Evaluators for LLM-as-a-Judge
0
SHARES
9
VIEWS
ShareShareShareShareShare


Jessie A Ellis
Sep 16, 2024 16:58

LangChain announces the release of version 0.3, introducing significant changes and improvements for both Python and JavaScript ecosystems.





LangChain has announced the release of version 0.3, bringing significant upgrades and improvements to both Python and JavaScript ecosystems, according to the LangChain Blog.

What’s Changed

Python

All packages have been upgraded from Pydantic 1 to Pydantic 2 internally, fully supporting the use of Pydantic 2 in user code without the need for bridges like langchain_core.pydantic_v1 or pydantic.v1. Pydantic 1, which reached its end-of-life in June 2024, will no longer be supported. Additionally, Python 3.8 support will be discontinued as its end-of-life is scheduled for October 2024.

JavaScript

All LangChain packages now list @langchain/core as a peer dependency instead of a direct dependency to avoid type errors related to core version conflicts. Users must explicitly install @langchain/core rather than relying on an internally resolved version from other packages. Other changes include making callbacks backgrounded and non-blocking by default, and the removal of deprecated document loader and self-query entrypoints from langchain in favor of entrypoints in @langchain/community and integration packages. Deprecated Google PaLM entrypoints have also been removed in favor of entrypoints in @langchain/google-vertexai and @langchain/google-genai. Furthermore, objects with a "type" as a BaseMessageLike are deprecated in favor of the more OpenAI-like MessageWithRole.

What’s New

LangChain v0.3 introduces several new features and improvements:

  • More integrations have been moved from langchain-community to their own langchain-{name} packages, allowing better dependency management, testing, and versioning. The legacy implementations remain in langchain-community but are marked as deprecated.
  • Revamped integration docs and API references.
  • Simplified tool definition and usage.
  • New utilities for interacting with chat models, including a universal model constructor, message trimming, filtering and merging utilities, and a rate limiter.
  • Ability to dispatch custom events.

How to Update Your Code

To assist users in migrating to LangChain v0.3, detailed how-to guides for both Python and JavaScript are available.

Documentation

LangChain documentation is versioned, and previous versions will remain accessible at their respective URLs.

LangGraph

LangGraph is a library for building stateful, multi-actor applications with LLMs. As of LangChain v0.2, LangGraph is the recommended way to build agents. It includes a pre-built LangGraph object equivalent to the LangChain AgentExecutor, simplifying the use of out-of-the-box agent solutions.

What’s Coming

The LangChain team is planning further improvements to LangChain’s multi-modal capabilities and continues to work on enhancing documentation and integration reliability.

Image source: Shutterstock


Credit: Source link

RELATED POSTS

Anthropic Reveals Claude Code Tool Design Philosophy Behind AI Agent Development

Riot Platforms Sells $289M in Bitcoin as Mining Output Drops 4% in Q1

Exploring Chainlink’s Role Beyond Price Feeds in the Blockchain Ecosystem

Buy JNews
ADVERTISEMENT
ShareTweetSendPinShare
Previous Post

Circle CEO Jeremy Allaire Says US at Turning Point and About To Become Decisive Leader in Building Crypto

Next Post

The Open Art at Token2049: An Evening of Innovation and Expression With Blum, TONX, and TON Society – Over 7,000 Registered Attendees

Related Posts

Bitcoin Addresses Holding Between 100 and 10,000 BTC Hit a 7-Week High
Blockchain

Anthropic Reveals Claude Code Tool Design Philosophy Behind AI Agent Development

April 10, 2026
Riot Blockchain Yearly Bitcoin Production Increases by 236%, Accumulates $194M in BTC
Blockchain

Riot Platforms Sells $289M in Bitcoin as Mining Output Drops 4% in Q1

April 2, 2026
Galaxy Digital: Ethereum Developers Discuss Key Upgrades During Latest Consensus Call
Blockchain

Exploring Chainlink’s Role Beyond Price Feeds in the Blockchain Ecosystem

December 9, 2025
Next Post
The Open Art at Token2049: An Evening of Innovation and Expression With Blum, TONX, and TON Society – Over 7,000 Registered Attendees

The Open Art at Token2049: An Evening of Innovation and Expression With Blum, TONX, and TON Society – Over 7,000 Registered Attendees

Lawmaker calls on CFTC to regulate election markets as Polymarket activity falters amid uncertainty

Lawmaker calls on CFTC to regulate election markets as Polymarket activity falters amid uncertainty

Recommended Stories

No Content Available

Popular Stories

  • Winklevoss Twins Continue Crypto Donation Spree With Another $1,000,000 in Bitcoin (BTC)

    Trader Says DeFi Altcoin Aave Witnessing Clear Trend Switch, Updates Forecast on Two Low-Cap Coins

    0 shares
    Share 0 Tweet 0
  • Rich Dad Poor Dad’s Robert Kiyosaki Says He’s Buying Bitcoin and Ether as Inflation Escalates – Economics Bitcoin News

    0 shares
    Share 0 Tweet 0
  • 10 Best Crypto Presales for Future-Proof Investments (up to 10000x Long-term Gains)

    0 shares
    Share 0 Tweet 0
  • Chingari partners with Fashion TV for exclusive content

    0 shares
    Share 0 Tweet 0
  • LangChain Expands DeepAgents Capability with New Update

    0 shares
    Share 0 Tweet 0
CryptoSpiel.com

This is an online news portal that aims to provide the latest crypto news, blockchain, regulations and much more stuff like that around the world. Feel free to get in touch with us!

What’s New Here!

  • Ripple CEO Says CLARITY Act Talks Near Breakthrough as Senate Standoff Eases
  • SEC Opens Proceedings on NYSE Proposal to List Grayscale Crypto ETF Options – Regulation Bitcoin News
  • Anthropic Reveals Claude Code Tool Design Philosophy Behind AI Agent Development

Subscribe Now

Loading
  • Live Crypto Prices
  • Contact Us
  • Privacy Policy
  • Terms of Use
  • DMCA

© 2021 - cryptospiel.com - All rights reserved!

No Result
View All Result
  • Home
  • Live Crypto Prices
  • Live ICO
  • Exchange
  • Crypto News
  • Bitcoin
  • Altcoins
  • Blockchain
  • Regulations
  • Trading
  • Scams

© 2021 - cryptospiel.com - All rights reserved!

Please enter CoinGecko Free Api Key to get this plugin works.