A Tag object includes the tag’s key, and its value. You can use tags to add extra information to a trace or request.Documentation Index
Fetch the complete documentation index at: https://docs.baserun.ai/llms.txt
Use this file to discover all available pages before exploring further.
Arguments
The type of tag. Default tag types are
tag, log, variable, and
feedback.Instructions
With a traced OpenAI client, after it is created:Adding tags to a completed trace or completion
After a trace or completion has completed, you may want to add extra tags based on feedback collected later. To do this, store thetrace_id and, for completions, the completion_id. Use the tag, log, or feedback functions to add tags, specifying trace_id and completion_id as needed.