Close Menu
CatchTheBullCatchTheBull
  • Home
  • Crypto News
  • Bitcoin
  • Altcoin
  • Blockchain
  • Airdrops News
  • NFT News
What's Hot

1.41B ENA, Binance Equity Perps, Last Airdrop

September 28, 2026

Can Stolen Crypto Be Recovered? The Honest Answer

September 28, 2026

Free Trading Bots, Fees and Safety

September 28, 2026
Facebook X (Twitter) Instagram
Facebook X (Twitter) Instagram
CatchTheBullCatchTheBull
  • Home
  • Crypto News
  • Bitcoin
  • Altcoin
  • Blockchain
  • Airdrops News
  • NFT News
CatchTheBullCatchTheBull
Blockchain

LangSmith Enhances LLM Evaluations with Pytest and Vitest Integrations

By WebDeskJanuary 25, 20253 Mins Read
LangSmith Enhances LLM Evaluations with Pytest and Vitest Integrations
Share
Facebook Twitter LinkedIn Pinterest Email


Caroline Bishop
Jan 25, 2025 04:44

LangSmith introduces Pytest and Vitest integrations to enhance LLM application evaluations, offering improved testing frameworks for developers.





LangSmith has unveiled new integrations with Pytest and Vitest, aiming to streamline the evaluation process of Large Language Model (LLM) applications. These integrations, now in beta with version 0.3.0 of the LangSmith Python and TypeScript SDKs, provide developers with enhanced testing capabilities, according to LangChain’s blog.

Enhanced Testing Frameworks for LLM Evaluations

LLM evaluations (evals) are crucial for maintaining the reliability and quality of applications. By integrating with Pytest and Vitest, developers familiar with these frameworks can now leverage LangSmith’s advanced features, such as observability and sharing capabilities, without compromising on the developer experience they are accustomed to.

The integrations allow developers to debug tests more effectively, log detailed metrics beyond simple pass/fail results, and share results effortlessly across teams. The non-deterministic nature of LLMs adds complexity to debugging, which LangSmith addresses by saving inputs, outputs, and stack traces from test cases.

Utilizing Built-in Evaluation Functions

LangSmith provides built-in evaluation functions, such as expect.edit_distance(), which compute the string distance between test outputs and reference outputs. This feature is particularly useful for developers who need to ensure their applications consistently deploy the best version. Detailed insights into these functions can be found in LangSmith’s API reference.

Getting Started with Pytest and Vitest

To integrate with Pytest, developers need to add the @pytest.mark.langsmith decorator to their test cases. This setup logs all test case results, application traces, and feedback traces to LangSmith, providing a comprehensive view of the application’s performance.

Similarly, Vitest users can wrap their test cases in an ls.describe() block to achieve the same level of integration and logging. Both frameworks offer real-time feedback and can be seamlessly integrated into continuous integration (CI) pipelines, helping developers catch regressions early.

Advantages Over Traditional Evaluation Methods

Traditional evaluation methods often require predefined datasets and evaluation functions, which can be limiting. LangSmith’s new integrations offer flexibility by allowing developers to define specific test cases and evaluation logic, tailored to their application’s needs. This approach is particularly beneficial for applications that require testing across multiple tools or models with varying evaluation criteria.

The real-time feedback provided by these testing frameworks facilitates rapid iteration and local development, making it easier for developers to refine their applications quickly. Additionally, the integration with CI pipelines ensures that any potential regressions are identified and addressed early in the development process.

For more information on how to utilize these integrations, developers can refer to LangSmith’s comprehensive tutorials and how-to guides available on their documentation site.

Image source: Shutterstock


Credit: Source link

Previous ArticleNVIDIA Unveils OpenUSD Workflows to Propel Physical AI in Robotics and Autonomous Vehicles
Next Article EU Banks Urged To Embrace Digital Euro Amid Trump’s Stablecoin Push, Says ECB Board Member

Related Posts

AAVE Price Prediction: Dead Weight Below $92 or a Coiled Spring — The Next 30 Days Are Decisive

August 12, 2026

LDO Price Prediction: $0.25 Is Knocking — One Level Stands Between a Bounce and a Breakdown

August 12, 2026

HBAR Price Prediction: $0.07 Is a Coiled Spring — And the Market Is About to Pick a Direction

August 12, 2026
Add A Comment
Leave A Reply Cancel Reply

Top Posts

1.41B ENA, Binance Equity Perps, Last Airdrop

September 28, 2026

Can Stolen Crypto Be Recovered? The Honest Answer

September 28, 2026

Free Trading Bots, Fees and Safety

September 28, 2026

Subscribe to Updates

Get the latest Crypto, Blockchain and Airdrop News from us to Catch The Bull.

Advertisement Banner

Welcome to CatchTheBull, your trusted source for the latest Crypto News and Airdrops. We bring you real-time updates, expert insights, and opportunities to stay ahead in the crypto world. Discover trending projects, market analyses, and airdrop details all in one place.

Join us on this journey to navigate the ever-evolving blockchain universe!

Facebook X (Twitter) Instagram YouTube
Top Insights

Which Privacy Coin Wins in 2026?

How to Buy MARSCOIN for the First Time (2026 Guide)

0xQuit Rescues 23,155 NFTs (~$5.7M)

Get Informed

Subscribe to Updates

Get the latest Crypto, Blockchain and Airdrop News from us to Catch The Bull.

© 2026 CatchTheBull. All Rights Are Reserved.
  • Contact Us
  • Privacy Policy
  • Terms of Use
  • DMCA

Type above and press Enter to search. Press Esc to cancel.

  • bitcoinBitcoin(BTC)$83,169.00-1.10%
  • ethereumEthereum(ETH)$2,676.840.11%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$760.43-2.27%
  • rippleXRP(XRP)$1.49-1.76%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$118.09-2.92%
  • tronTRON(TRX)$0.3352510.37%
  • zcashZcash(ZEC)$1,450.11-7.93%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.000.00%
  • HyperliquidHyperliquid(HYPE)$86.63-4.28%
  • dogecoinDogecoin(DOGE)$0.093633-3.05%
  • chainlinkChainlink(LINK)$15.419.80%
  • moneroMonero(XMR)$539.42-1.83%
  • whitebitWhiteBIT Coin(WBT)$83.17-0.84%
  • USDSUSDS(USDS)$1.00-0.02%
  • cardanoCardano(ADA)$0.245835-3.55%
  • RainRain(RAIN)$0.012447-1.30%
  • leo-tokenLEO Token(LEO)$9.060.54%
  • stellarStellar(XLM)$0.2281324.86%
  • nearNEAR Protocol(NEAR)$4.76-10.59%
  • bitcoin-cashBitcoin Cash(BCH)$308.31-6.19%
  • uniswapUniswap(UNI)$8.73-9.67%
  • litecoinLitecoin(LTC)$68.65-2.21%
  • hedera-hashgraphHedera(HBAR)$0.12055825.02%
  • CantonCanton(CC)$0.130184-7.57%
  • avalanche-2Avalanche(AVAX)$10.68-1.70%
  • Ethena USDeEthena USDe(USDE)$1.00-0.01%
  • suiSui(SUI)$1.15-9.53%
  • daiDai(DAI)$1.000.04%
  • USD1USD1(USD1)$1.000.00%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.56-2.78%
  • BittensorBittensor(TAO)$304.10-3.69%
  • crypto-com-chainCronos(CRO)$0.0683142.81%
  • tether-goldTether Gold(XAUT)$4,122.79-2.57%
  • shiba-inuShiba Inu(SHIB)$0.000006-4.33%
  • Global DollarGlobal Dollar(USDG)$1.000.03%
  • quant-networkQuant(QNT)$223.07-17.36%
  • BitwayBitway(BTW)$1.12-8.08%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.02%
  • MemeCoreMemeCore(M)$1.13-3.35%
  • EthenaEthena(ENA)$0.251845-7.32%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • OndoOndo(ONDO)$0.52-8.53%
  • okbOKB(OKB)$118.32-2.00%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • aaveAave(AAVE)$148.24-3.58%
  • Pump.funPump.fun(PUMP)$0.004905-4.93%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.10%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%