Arguments
string
required
string/numeric/boolean/object/array
required
object
string
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.