googleapis / googleapis/langchain-google-firestore-python

FirestoreChatMessageHistory add timestamp

Open
#113 0 comments 2 reactions 1 assignee Claimed by @pcostell View on GitHub
api: firestore
Dominant language
Python
Stars
35
Forks
20
PR merge metrics
No merged PRs in 30d

Description

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:

1. remove chat histories that are no longer active anymore
2. reduce costs on the Firestore side
3. reduce costs on the Gemini side e.g smaller context size

what do you think?

Best regards

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.