Adding to Different Indexes
- Python SDK
- JavaScript SDK
Searching Specific Indexes
Target your searches to specific indexes for better performance and more relevant results:- Python SDK
- JavaScript SDK
Managing Index Lists
- Python SDK
- JavaScript SDK
Common Index Patterns
| Index Name | Purpose | Example Memories |
|---|---|---|
user_preferences | Settings, UI preferences | ”Dark mode”, “Language: Spanish”, “Notifications off” |
work_info | Job, skills, projects | ”Software engineer”, “Uses Python”, “Works remotely” |
conversation_history | Chat logs, interactions | ”Asked about weather”, “Discussed movies” |
personal_info | Basic user data | ”Lives in NYC”, “Age 25”, “Married” |
food_preferences | Dietary info, likes/dislikes | ”Vegetarian”, “Allergic to nuts”, “Loves Italian food” |
health_info | Medical, fitness data | ”Exercises daily”, “Takes vitamin D”, “Allergic to peanuts” |
Use Case Examples
E-commerce Application
Content Platform
Productivity App
Index Naming Conventions
Good Naming Practices:- Use descriptive, clear names:
user_preferencesnotprefs - Use underscores for separation:
conversation_historynotconversationhistory - Be consistent with pluralization:
user_preferences,work_projects - Include context when needed:
customer_support_ticketsnot justtickets
- Generic names:
data,info,stuff - Abbreviations:
usr_prefs,conv_hist - Special characters:
user-preferences,work@info - Very long names:
user_application_specific_preferences_and_settings
Organizing by User Context
- Python SDK
- JavaScript SDK

