Skip to content

Commit

Permalink
fix: trace.id instead of trace_id
Browse files Browse the repository at this point in the history
  • Loading branch information
marcklingen committed Jul 1, 2024
1 parent ba95462 commit 89100c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/docs/integrations/openai/python/get-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ capital = openai.chat.completions.create(
{"role": "system", "content": "What is the capital of the country?"},
{"role": "user", "content": country}],
name="get-capital",
trace_id=trace_id
trace_id=trace.id
).choices[0].message.content

poem = openai.chat.completions.create(
Expand All @@ -387,7 +387,7 @@ poem = openai.chat.completions.create(
{"role": "system", "content": "You are a poet. Create a poem about this city."},
{"role": "user", "content": capital}],
name="generate-poem",
trace_id=trace_id
trace_id=trace.id
).choices[0].message.content
```

Expand Down

0 comments on commit 89100c7

Please sign in to comment.