Concepts
Tags
Tags are a fantastic way to organize your Sessions based on data known by the developer but not by AgentOps. Ex: paid-user
, v3
, recruiter-agent
How to use Tags
There are two types: tags
and default tags
.
Tags belong to Sessions and are a fantastic way to organize your Sessions. When a session is created, default_tags
are automatically assigned to the session alongside any tags that are passed in.
On init()
Passing default_tags
into the init
function will assign these tags to the all subsequent Sessions.
set_tags([str])
This will override any existing tags on the session and set them to the value passed into the function.
add_tags([str])
This will append an array of tags to the session’s existing tags.
Sorting by tags
Overview
- Select the filter selector in the top bar
- Choose “Tags”
- Select the tag(s) to filter by
Session Drill-down
- Click the session selector button
- In the session selector, click “Tags”
- Choose what tags to search by