Wrap an arbitrary SDK, enabling automatic LangSmith tracing.
Method signatures are unchanged.
Note that this will wrap and trace ALL SDK methods, not just
LLM completion methods. If the passed SDK contains other methods,
we recommend using the wrapped instance for LLM calls only.
Wrap an arbitrary SDK, enabling automatic LangSmith tracing. Method signatures are unchanged.
Note that this will wrap and trace ALL SDK methods, not just LLM completion methods. If the passed SDK contains other methods, we recommend using the wrapped instance for LLM calls only.