What are Trait Schemas?
Trait schemas define the structure and extraction rules for user traits. They tell GetProfile:- What traits to look for
- How to extract them
- How to inject them into prompts
Schema Structure
Default Schema
GetProfile ships with a default schema atconfig/traits/default.traits.json:
Custom Schemas
Create domain-specific schemas for your use case:- Customer Support
- Gaming NPC
Per-Request Overrides
Define traits dynamically for specific requests:Per-request traits completely replace system traits when provided (no
merging). This gives full control per request.