-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
api: firestoreIssues related to the googleapis/langchain-google-firestore-python API.Issues related to the googleapis/langchain-google-firestore-python API.
Description
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
self.doc_ref.set({"messages": [m.json() for m in self.messages]}) |
I could be wrong. Would really appreciate any workaround.
Metadata
Metadata
Assignees
Labels
api: firestoreIssues related to the googleapis/langchain-google-firestore-python API.Issues related to the googleapis/langchain-google-firestore-python API.