BsonSerializer#
- class langchain_community.vectorstores.sklearn.BsonSerializer(persist_path: str)[source]#
Serialize data in Binary JSON using the bson python package.
Methods
__init__
(persist_path)The file extension suggested by this serializer (without dot).
load
()Loads the data from the persist_path
save
(data)Saves the data to the persist_path
- Parameters:
persist_path (str) –