userId when you create a trace. This can be a username, email, or any other unique identifier. The userId is optional, but using it helps you get more from ABV. See the integration docs to learn more.
Implementation with Python SDK
Install packageImplementation with JS/TS SDK
Install packages.env file in your project root and a package like dotenv to load the variables.
Createinstrumentation.ts file and use dotenv package to load the variables.
Additional parameters are provided to get trace visible in the UI immediately.
Import the instrumentation.ts file at the top of your application.
When using the context manager:
observe wrapper:
View all users
The user list provides an overview of all users that have been tracked by ABV. It makes it simple to segment by overall token usage, number of traces, and user feedback.
Individual user view
The individual user view provides an in-depth look into a single user. Explore aggregated metrics or view all traces and feedback for a user. You can deep link to this view via the following URL format:https://<hostname>/project/{projectId}/users/{userId}