From 842846a37f9210edea9bdc8dc9792720959a283b Mon Sep 17 00:00:00 2001 From: Dat Ngo Date: Tue, 15 Oct 2024 02:46:22 +0000 Subject: [PATCH] docs: No subject (GITBOOK-899) --- docs/tracing/integrations-tracing/openai.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/tracing/integrations-tracing/openai.md b/docs/tracing/integrations-tracing/openai.md index 874a7c6bdd..01753b08ac 100644 --- a/docs/tracing/integrations-tracing/openai.md +++ b/docs/tracing/integrations-tracing/openai.md @@ -32,7 +32,7 @@ px.launch_app() ```python from phoenix.otel import register -register( +tracer_provider = register( project_name="my-llm-app", # Default is 'default' ) ``` @@ -153,7 +153,6 @@ Initialize the OpenAIInstrumentor before your application code: ```python from openinference.instrumentation.openai import OpenAIInstrumentor -tracer_provider = register() OpenAIInstrumentor().instrument(tracer_provider=tracer_provider) ```