LANGSMITH_WORKSPACE_ID
environment variable to specify which workspace to use.
Application Code
wrap_openai
(Python) or wrapOpenAI
(TypeScript) wrappers. All you have to do is modify your code to use the wrapped client instead of using the OpenAI
client directly.
traceable
decorator (Python or TypeScript) to trace your entire application instead of just the LLM calls.