def filter_files()

in prompts/stories/filter_openhermes.py [0:0]


def filter_files(x):
    if x["category"] and x["category"].lower() in drop_categories:
        return False
    if x["source"] and x["source"].lower() in drop_sources:
        return False
    return True