Test Attributes
Test attribute entities provide structure and classification for tests. Categories, topics, and behaviors help organize test sets and enable filtered evaluation.
Behavior
Behaviors define expected actions or responses from AI applications. Each behavior can have associated metrics for evaluation.
Properties
| Property | Type | Description |
|---|---|---|
id | str | Unique identifier |
name | str | Behavior name (e.g., “Refuses harmful requests”) |
description | str | Detailed description |
Working with Behaviors
Behavior Metrics
Behaviors can have associated metrics for automatic evaluation:
Category
Categories provide high-level classification for tests (e.g., “Safety”, “Accuracy”, “Performance”).
Properties
| Property | Type | Description |
|---|---|---|
id | str | Unique identifier |
name | str | Category name |
description | str | Category description |
Working with Categories
Filtering Tests by Category
Topic
Topics provide fine-grained classification within categories (e.g., “Privacy”, “Harmful Content”, “Misinformation”).
Properties
| Property | Type | Description |
|---|---|---|
id | str | Unique identifier |
name | str | Topic name |
description | str | Topic description |
Working with Topics
Filtering Tests by Topic
Organizing Tests
Use test attributes together to create well-organized test sets:
Next Steps - Create Test Sets using test attributes
- Associate Metrics with behaviors for evaluation
- Review the Entities Overview for common operations