Instructor
(Python only)langsmith.wrappers.wrap_openai
instructor
:
instructor
as you normally would, but now everything is logged to LangSmith!
instructor
inside of other functions.
You can get nested traces by using this wrapped client and decorating those functions with @traceable
.
Please see this guide for more information on how to annotate your code for tracing with the @traceable
decorator.