Scenario
Internal “Ask AI” for company docs/code/processes that needs to adapt to each employee’s role and knowledge level.Extraction
From questions, docs visited, and tools used, GetProfile creates:department,team,roleproject_contexts[]: which repos / services they touchtopic_familiarity: “deep in payments service”, “novice in infra”, etc.documentation_style_preference: likes code samples vs concept docs
Injection
When they ask, “How do I add a new metric to our billing pipeline?”:-
GetProfile injects:
- “User is on the billing team, familiar with service X but not Y; prefers answers with code snippets and direct links to runbooks.”
-
Plus a couple of relevant memories:
- previous similar question and answer,
- docs they read last time.
Impact
- The assistant answers at the right depth and with the right references.
- Onboarding is smoother, since the assistant adapts to each newcomer over time.
Implementation
Trait Schema Example
Related Resources
Proxy Integration
Set up automatic context injection for your knowledge base
Memories API
Store and retrieve past questions and answers