跳到主要内容
Ctrl+K
🦜️🛠️ LangSmith  documentation - Home 🦜️🛠️ LangSmith  documentation - Home
  • 参考
Ctrl+K
文档
  • GitHub
  • X / Twitter
Ctrl+K
  • 参考
文档
  • GitHub
  • X / Twitter

模块

  • client
  • async_client
  • run_helpers
    • LangSmithExtra
    • trace
    • get_current_run_tree
    • traceable
    • tracing_context
  • wrappers
  • testing
  • _expect
  • LangSmith Python SDK
  • run_helpers

run_helpers#

用于从函数中创建运行树的装饰器。

类

run_helpers.LangSmithExtra

任何要动态注入到运行中的附加信息。

run_helpers.trace(name[, run_type, inputs, ...])

在上下文中管理 LangSmith 运行。

函数

run_helpers.get_current_run_tree()

获取当前的运行树。

run_helpers.traceable()

使用 langsmith 跟踪函数。

run_helpers.tracing_context(*[, ...])

为一段代码设置跟踪上下文。

© 版权所有 2024, LangChain Inc.

© . This site is unofficial and not affiliated with LangChain, Inc.
这些文档随着 LangChain v1.0 在 2025 年 10 月的发布而弃用,并且不再维护。 请访问 v1.0 文档