user_id and an id_ to the start_trace function to associate the trace with your user and to give the trace a unique identifier that you can use to join it to other data.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
with tatara.start_trace(event="create_character_image"):
with tatara.start_span(event=visual_description_event_name):
character_visual_description = generate_visual_description(character_description, openai_client)
with tatara.start_span(event=image_event_name, parent_event=visual_description_event_name):
character_image = generate_character_image(character_visual_description, openai_client)
user_id and an id_ to the start_trace function to associate the trace with your user and to give the trace a unique identifier that you can use to join it to other data.
with tatara.start_trace(event="create_character_image", user_id="user_id", id_="trace_id"):