ha ya i bumped into it using tree-sitter, i wanted to attach ast of the file to the Documents when building them and got Tree unserializable. can print out the ast but was curious about the error
For example, the base vector store supports metadata filtering. That calls the node_to_metadata_dict which basically requires the node and it's metadata to be serializable