Conversation Memory Deep Dive
🧠 Overview
⚙️ Configuration
Environment Variables
# Enable/disable conversation memory
NEUROLINK_MEMORY_ENABLED=true
# Maximum number of sessions to keep in memory
NEUROLINK_MEMORY_MAX_SESSIONS=50
# Maximum number of turns per session
NEUROLINK_MEMORY_MAX_TURNS_PER_SESSION=50Programmatic Configuration
🚀 Usage Examples
Basic Usage with Session ID
Streaming Support
Mixed Generate/Stream Conversations
Session Isolation Example
📊 Memory Management
Turn Limits
Session Limits
🔌 API Reference
Memory Statistics
Session Management
🧪 Test Results
✅ Test Suite Results
Test Case
Status
Description
Example Test Output
💡 Best Practices
1. Session ID Strategy
2. Memory Limits
3. Error Handling
🔧 Technical Implementation
Architecture
Message Format
🔍 Troubleshooting
Common Issues
Debug Logging
🔗 Related Documentation
📈 Performance Characteristics
Last updated
Was this helpful?

