FirestoreChatMessageHistory(
self,
collection_name: str,
session_id: str,
user_id: str,
firestore_client:Chat message history backed by Google Firestore.
Prepare the Firestore client.
Use this function to make sure your database is ready.
Retrieve the messages from Firestore
Update the Firestore document.
Clear session memory from this memory and Firestore.