Learn how to integrate Maxim observability with the OpenAI SDK in just one line of code.
Initialize Maxim SDK and OpenAI Client
Create a new trace externally
Make LLM calls and use this trace id
Keep adding LLM calls
maxim_trace_id: trace_id
will add it the declared trace.Initialize Maxim SDK and OpenAI Client
Create a new trace externally and add it to a session
Make LLM calls and use this trace id