def add_generation_type()

in prompts/web_samples/filter_and_classify_clusters.py [0:0]


def add_generation_type(x):
    topic = x["category"]
    try:
        generation_type = new_dict[topic]
    except:
        print(f"{topic} not in keep list")
        generation_type = "blogpost"
    return {"generation_type": generation_type}