Memory Management
1. Overview
Memory management is one of the important features of FiraClaw. It allows agents to store and retrieve information, providing more personalized and accurate services. Through memory management, FiraClaw can remember your preferences, habits, and important information, making agents understand you better over time.
2. Memory Types
FiraClaw supports the following types of memories:
- Short-term Memory: Stores temporary information in conversations to ensure context coherence
- Long-term Memory: Persistently stores important information, supporting cross-session invocation
- Structured Memory: Information organized into structured forms for quick retrieval
- Unstructured Memory: Information stored in original form, preserving complete context
3. Managing Memories
3.1 Viewing Memories
- Click Memory Management in the left menu.
- In the memory list, you can see all stored memories and their categories.
- You can quickly find specific memories through search and filter functions.
3.2 Adding Memory
- Click the Add Memory button in the upper right corner of the memory management page.
- Fill in the basic memory information:
- Title: Title of the memory for easy identification
- Content: Detailed content of the memory
- Type: Select the memory type
- Tags: Add tags for easy categorization and retrieval
- Click the Save button to add the memory.
3.3 Editing Memory
- In the memory list, find the memory that needs to be edited.
- Click the Edit button to modify the memory content.
- Click the Save button to apply changes.
3.4 Deleting Memory
- In the memory list, find the memory that needs to be deleted.
- Click the Delete button to confirm the deletion.
4. Using Memories
4.1 Automatic Memory
- Intelligent Extraction: AI automatically judges and extracts key information during conversations
- Automatic Storage: Extracted information is automatically stored as memory
- Intelligent Association: New memories are associated with existing memories
4.2 Manual Memory
- Proactive Addition: Users can manually add important information to memory
- Editing and Organization: Users can edit and organize memory content
- Deletion Management: Users can delete unwanted memories
4.3 Memory Retrieval
- Contextual Retrieval: Intelligently retrieve related memories based on current conversation context
- Keyword Retrieval: Search related memories through keywords
- Time Retrieval: View memories in chronological order
5. Memory Optimization
5.1 Memory Organization
- Categorization Management: Organize memories by different categories
- Tag System: Use tags to mark and categorize memories
- Priority Setting: Set high priority for important memories
5.2 Memory Cleanup
- Automatic Cleanup: System automatically cleans up outdated or unimportant memories
- Manual Cleanup: Users can manually clean up unwanted memories
- Cleanup Strategy: Can set strategies and rules for memory cleanup
6. FAQ
Q1: How much storage space do memories occupy?
A: The storage space occupied by memories depends on the number and content size of memories. FiraClaw automatically optimizes memory storage to ensure it doesn't take up too much space.
Q2: Will memories be uploaded to the cloud?
A: No. All memory content is stored on the user's local computer and is not uploaded to the cloud, ensuring your privacy and security.
Q3: How to improve memory accuracy?
A:
- Provide clear, specific information
- Regularly organize and update memories
- Add detailed tags and categories for important memories
Q4: Will memories affect agent performance?
A: Appropriate memories can improve agent performance and accuracy, but too many memories may affect response speed. It is recommended to regularly clean up unwanted memories to keep the memory library tidy.