def construct_reduce_prompt(gradients):
    """
    Construct a prompt that reduces the gradients.
    """
    gradient_texts = []
    for i, gradient in enumerate(gradients):
        gradient_texts.append(f"<FEEDBACK>{gradient.get_value()}</FEEDBACK>")
    gradient_texts = "\n".join(gradient_texts)
    
    return gradient_texts

    Construct a prompt that reduces the gradients.
    
textgrad/autograd/reduce_prompts.py