Sessions
Many interactions with LLM applications span multiple traces. Sessions
in Varex are a way to group these traces together and see a simple session replay of the entire interaction. Get started by adding a sessionId
when creating a trace.
How it works
Add a sessionId
when creating/updating a trace. This can be any string that you use to identify the session. All traces with the same sessionId
will be grouped together.
curl --location 'http://cloud.varex.ai/api/v1/traces' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header "Authorization: Bearer {Varex_public_key}"
--data '{
"traceId": "<string>",
"name": "<string>",
"value": "<integer>",
"sessionId": "<integer>",
"observationId": "<optional_string>"
}'
Other features
- Bookmark a session to easily find it later
- Manually evaluate sessions by adding
scores
from the Varex UI