Convert a function wrapped by the LangSmith @traceable decorator to a Runnable.
| Name | Type | Description |
|---|---|---|
traceable_fn* | Callable |
Example:
@traceable ... def my_function(input_data): ... # Function implementation ... pass runnable = as_runnable(my_function)
The function wrapped by the @traceable decorator.