user
and assistant
roles are not always sufficient to capture the full context. Memobase allows you to add custom metadata to your messages to handle more complex scenarios.
Custom Timestamps
It’s important to distinguish between two types of timestamps in Memobase:- External Timestamp: The time a memory is stored or updated in the database.
- Internal Timestamp: The time an event actually occurred according to the content of the memory itself (e.g., a birthday, a travel date).
created_at
field.
This is useful for importing historical data or for applications set in fictional timelines.
"In the year 32637, the user started a rebellion."
You can use any date or time format; Memobase will extract the time at the appropriate granularity.
Character Aliases
For more complex interactions, such as multi-character role-playing, you can assign names oralias
values to the user
and assistant
roles.
"The Emperor wished to declare war, but The Advisor suggested rest instead."