examples/research_projects/rag-end2end-retriever/utils_rag.py/pickle_save
def pickle_save(obj, path):
    """pickle.dump(obj, path)"""
    with open(path, "wb") as f:
        return pickle.dump(obj, f)