def save_prompts_to_file()

in videocategorization/create_prompts.py [0:0]


def save_prompts_to_file(prompts, output_file):
    """Save prompts to the output JSON file, overwriting it."""
    with open(output_file, 'w', encoding='utf-8') as file:
        json.dump(prompts, file, indent=4, ensure_ascii=False)