这是indexloc提供的服务,不要输入任何密码
Skip to content

FirestoreChatMessageHistory add timestamp #113

@SaschaHeyer

Description

@SaschaHeyer

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

Metadata

Metadata

Assignees

Labels

api: firestoreIssues related to the googleapis/langchain-google-firestore-python API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions