langchain_community.vectorstores.sklearn
.JsonSerializer¶
- class langchain_community.vectorstores.sklearn.JsonSerializer(persist_path: str)[source]¶
Serializes data in json using the json package from python standard library.
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
- __init__(persist_path: str) None ¶