Skip to content

Commit 18cebd4

Browse files
authored
AI-59: Mark LangSmith plugin as experimental (#1441)
Add experimental warnings to the LangSmith plugin, consistent with the pattern used by OpenTelemetry, Google ADK, and AWS S3 contrib plugins. Adds RST `.. warning::` blocks to public API class docstrings and an experimental banner to the README.
1 parent 79a140b commit 18cebd4

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

temporalio/contrib/langsmith/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# LangSmith Plugin for Temporal Python SDK
22

3+
> ⚠️ **This package is currently at an experimental release stage.** ⚠️
4+
35
This Temporal [Plugin](https://docs.temporal.io/develop/plugins-guide) allows your [LangSmith](https://smith.langchain.com/) traces to work within Temporal Workflows. It propagates trace context across Worker boundaries so that `@traceable` calls, LLM invocations, and Temporal operations show up in a single connected trace, and ensures that replaying does not generate duplicate traces.
46

57
## Quick Start

temporalio/contrib/langsmith/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
"""LangSmith integration for Temporal SDK.
22
3+
.. warning::
4+
This package is experimental and may change in future versions.
5+
Use with caution in production environments.
6+
37
This package provides LangSmith tracing integration for Temporal workflows,
48
activities, and other operations. It includes automatic run creation and
59
context propagation for distributed tracing in LangSmith.

temporalio/contrib/langsmith/_interceptor.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,10 @@ class LangSmithInterceptor(
533533
):
534534
"""Interceptor that supports client and worker LangSmith run creation
535535
and context propagation.
536+
537+
.. warning::
538+
This class is experimental and may change in future versions.
539+
Use with caution in production environments.
536540
"""
537541

538542
def __init__(

temporalio/contrib/langsmith/_plugin.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
class LangSmithPlugin(SimplePlugin):
1919
"""LangSmith tracing plugin for Temporal SDK.
2020
21+
.. warning::
22+
This class is experimental and may change in future versions.
23+
Use with caution in production environments.
24+
2125
Provides automatic LangSmith run creation for workflows, activities,
2226
and other Temporal operations with context propagation.
2327
"""

0 commit comments

Comments
 (0)