The Learning & Memory System enables your AI assistants to remember information across calls, personalize conversations, and continuously improve through evaluation and prompt optimization.
Overview
Burki’s Learning & Memory System provides:Persistent Memory
Store and recall facts about callers, preferences, and past interactions across multiple calls.
Prompt Versioning
Manage system prompts with version control, A/B testing, and gradual rollouts.
Evaluation System
Test prompt changes against datasets before deploying to production.
Privacy-First Design
GDPR-compliant with caller opt-out, PII redaction, and soft deletion.
Memory Types
Memories are categorized by what kind of information they represent:Semantic memories are best for persistent preferences. Episodic memories capture conversation history. Procedural memories help the AI follow specific workflows.
Memory Scopes
Control where memories apply with scoping:Scope Hierarchy
When retrieving memories, the system searches from most specific to most general:Memory Features
Privacy-Safe Identifiers
Privacy-Safe Identifiers
Caller phone numbers are hashed before storage using SHA-256. The original phone number is never stored with memories, protecting caller privacy while still enabling personalization.
Confidence Scoring
Confidence Scoring
Each memory has a confidence score from 0 to 1:
Lower confidence memories may be excluded from context or presented with caveats.
Time-to-Live (TTL)
Time-to-Live (TTL)
Set automatic expiration for memories:
- Short-term: 24 hours (temporary preferences)
- Medium-term: 30 days (campaign-related)
- Long-term: 1 year (customer preferences)
- Permanent: Never expires (critical facts)
Vector Embeddings
Vector Embeddings
Memories are embedded as vectors for semantic search. When the AI needs context, it searches for memories semantically related to the current conversation, not just keyword matches.
Memory Graph
Memories are connected in a graph structure with relationship types:
The graph enables context expansion—when retrieving memories, related memories are included for fuller context.
Caller Privacy
Opt-Out Support
Opt-Out Support
Callers can opt out of memory storage:
- Verbal request: If a caller says “don’t remember this” or similar, the AI should respect the request
- API opt-out: Mark a caller as opted-out via API
- Dashboard: Manage opted-out callers in the Learning dashboard
- No new memories are created
- Existing memories are soft-deleted
- Only session-level context is maintained (within single call)
GDPR Compliance
GDPR Compliance
The memory system supports GDPR data subject rights:
Use the Caller Privacy Manager in the dashboard or API to handle these requests.
Memory Write Policies
Memory Write Policies
Configure which types of facts assistants can store:
PII Redaction
Personally identifiable information is automatically detected and redacted before storage.Detected PII Types
PII redaction is conservative—it over-redacts rather than risk missing sensitive data. Configure which patterns to detect based on your compliance requirements.
Prompt Versioning
Manage system prompts with full version control and safe rollout capabilities.Lifecycle Stages
Creating a New Version
- Dashboard
- API
- Go to Learning > Prompt Versions for your assistant
- Click New Version
- Edit the system prompt
- Add version notes explaining changes
- Save as Draft
- Run evaluation to move to Testing
Canary Rollouts
Gradually roll out prompt changes to reduce risk:- Start Canary: Deploy to 5% of traffic
- Monitor Metrics: Watch success rate, call duration, customer satisfaction
- Increase Traffic: Gradually increase to 25%, 50%, 75%
- Promote or Rollback: Move to production or revert if issues arise
Always run evaluations before starting a canary. Never promote directly from draft to production.
Evaluation System
Test prompt changes against curated datasets before deployment.Evaluation Datasets
Create datasets of test cases representing expected conversations:Dataset Types
Running Evaluations
Evaluation Metrics
Dashboard UI
The Learning Dashboard provides visual management of all features:Memory Browser
Memory Browser
- Search and filter stored memories
- Filter by type (semantic, episodic, procedural)
- Filter by scope (organization, assistant, caller)
- View confidence scores and TTL
- Edit or delete individual memories
Prompt Timeline
Prompt Timeline
- Visual timeline of all prompt versions
- Compare versions side-by-side
- See evaluation results for each version
- One-click promote/demote/rollback
- View rollout percentages
Eval Dataset Manager
Eval Dataset Manager
- Create and manage test datasets
- Add cases from real call transcripts
- Run evaluations on demand
- View detailed results and scores
- Export datasets for sharing
Caller Privacy Manager
Caller Privacy Manager
- View opted-out callers
- Add manual opt-outs
- Export caller data (GDPR access requests)
- Delete caller data (GDPR erasure requests)
API Reference
For full request/response examples and the complete route surface, see Learning and Memory API.Memory Endpoints
Prompt Version Endpoints
Eval Endpoints
Stats, Graph, and Traces
Best Practices
- Start with organization memories: Add common facts (business hours, policies) at the org level
- Use appropriate TTL: Don’t store temporary information permanently
- Test before deploying: Always run evaluations before canary rollouts
- Monitor canary metrics: Watch for degradation in success rates or call duration
- Review memories regularly: Audit stored memories for accuracy and relevance
- Respect privacy: Honor opt-out requests promptly and completely
The Learning & Memory System is most powerful when combined: store memories about what works, evaluate prompt changes against real scenarios, and gradually roll out improvements with confidence.