Memories
The Memory System in ChatBotKit enables AI agents to store, retrieve, and leverage important information about contacts and conversations. This powerful feature allows your bots to maintain context across multiple interactions, creating more personalized and coherent conversations that improve over time.
Understanding Memories
Memories are contextual information that AI agents can store about contacts, preferences, previous interactions, and important details. Unlike traditional stateless conversations, the Memory System allows your AI to build a comprehensive understanding of each contact, remembering their preferences, history, and context across all future interactions.
Key Benefits:
- Persistent Context: Conversations maintain context across multiple sessions
- Personalized Interactions: AI agents adapt responses based on stored contact information
- Reduced Repetition: No need to re-ask for previously provided information
- Improved Accuracy: Responses are informed by historical context and preferences
Creating and Managing Memories
1. Manual Memory Creation:
To create a memory manually:
- Navigate to the 'Memories' section from the dashboard
- Click on the 'Create Memory' button
- Fill in the memory details:
- Name: A descriptive title for the memory
- Description: Additional context about the memory
- Text: The actual content of the memory
- Contact: Associate the memory with a specific contact (optional)
- Bot: Link the memory to a particular bot (optional)
Once created, the memory becomes available for AI agents to reference during conversations with the associated contact or when using the specified bot.
2. Automatic Memory Creation:
AI agents can automatically create memories during conversations using the built-in memory abilities. When an agent learns new information about a contact, it can store this knowledge for future reference without manual intervention.
Memory Types and Associations
Contact-Specific Memories:
These memories are tied to individual contacts and contain personal information, preferences, and interaction history. When a contact engages with any of your bots, relevant memories are automatically accessible to provide personalized responses.
Examples of contact memories:
- Communication preferences (email vs. phone)
- Product interests and past purchases
- Support history and resolved issues
- Personal details and conversation context
Bot-Specific Memories:
Bot memories are associated with particular AI agents and help them maintain specialized knowledge relevant to their role. These memories enable bots to become more effective in their specific domains over time.
Examples of bot memories:
- Common issue resolutions for customer service bots
- Successful conversation patterns for sales bots
- Domain-specific knowledge and expertise
- Frequently asked questions and responses
Memory Search and Retrieval
The Memory System includes sophisticated search capabilities that allow AI agents to quickly find relevant information during conversations. When a contact mentions previous interactions or asks about past discussions, agents can search their memory banks to provide informed responses.
Search Features:
- Real-time Search: Instant access to relevant memories during conversations
- Contextual Matching: Intelligent matching based on conversation context
- Ranked Results: Most relevant memories appear first in search results
- Cross-Reference: Search across contact, bot, and global memories
Memory Expiration and Lifecycle
Memories automatically degrade with time and lack of usage. This is to ensure that the AI agents rely on the most relevant and up-to-date information.
Getting Started with Memories
- Access the Memories Dashboard: Navigate to the Memories section in your ChatBotKit dashboard
- Create Your First Memory: Start with a simple contact-specific memory to see how the system works
- Enable Memory Abilities: Configure your bots to use memory abilities for autonomous memory management
- Test and Iterate: Engage in conversations to see how memories enhance the AI experience
- Scale Gradually: As you become comfortable with the system, expand to more complex memory strategies
The Memory System transforms your AI agents from stateless responders into intelligent assistants that learn, remember, and adapt. By leveraging memories effectively, you can create conversational experiences that become more valuable and personalized with every interaction.