I followed this doc to incorporate Firestore chat message history into my app. Everything is working fine, EXCEPT that the message history JSON objects are stored in Firestore as strings rather than JSON.
Environment details
langchain-google-firestore = "^0.3.0"
Here is the screenshot of how it looks in the Firestore console:

My suspicion is this line is not working as expected, although it should -
|
self.doc_ref.set({"messages": [m.json() for m in self.messages]}) |
I could be wrong. Would really appreciate any workaround.
I followed this doc to incorporate Firestore chat message history into my app. Everything is working fine, EXCEPT that the message history JSON objects are stored in Firestore as strings rather than JSON.
Environment details
langchain-google-firestore = "^0.3.0"
Here is the screenshot of how it looks in the Firestore console:
My suspicion is this line is not working as expected, although it should -
langchain-google-firestore-python/src/langchain_google_firestore/chat_message_history.py
Line 75 in 79c1937
I could be wrong. Would really appreciate any workaround.