langchain.vectorstores.sklearn.BsonSerializer¶
class langchain.vectorstores.sklearn.BsonSerializer(persist_path: str)[source]¶
Serializes data in binary json using the bson python package.
Methods
__init__(persist_path)
extension()
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
__init__(persist_path: str) → None[source]¶
classmethod extension() → str[source]¶
The file extension suggested by this serializer (without dot).
load() → Any[source]¶
Loads the data from the persist_path
save(data: Any) → None[source]¶
Saves the data to the persist_path