the FirestoreChatMessageHistory currently is not storing a timestamp.
Adding a timestamp would allow us to use Firestores TTL feature.
This will allow us to clean up all chat histories older than X days.
Useful for multiple reasons:
remove chat histories that are no longer active anymore
reduce costs on the Firestore side
reduce costs on the Gemini side e.g smaller context size
Hi Google Team
the FirestoreChatMessageHistory currently is not storing a timestamp. Adding a timestamp would allow us to use Firestores TTL feature. This will allow us to clean up all chat histories older than X days.
Useful for multiple reasons:
what do you think?
Best regards