跳到正文
LangChain:Blog·· 2025-01-23精选AI 评分60

LangSmith 推出 Pytest 和 Vitest/Jest 评测集成(beta)

Introducing Pytest and Vitest integrations for LangSmith Evaluations

AI 导读

LangChain 发布 LangSmith 的 Pytest 与 Vitest/Jest 集成,随 Python 和 TypeScript SDK v0.3.0 以 beta 提供,让开发者沿用现有测试框架运行 LLM 评测并记录到 LangSmith。

推荐理由

原文介绍了将 LLM 评测接入 Pytest/Vitest 的具体用法和与 evaluate() 的差异,开发者可直接对照迁移现有测试流程。

来源:LangChain:Blog · langchain.com