def generate_marketing_copy()

in experiments/legacy/backend/api.py [0:0]


def generate_marketing_copy(
    description: str, attributes: dict[str, str]) -> str:
    """Generate Marketing Copy.
    
    Args:
    - description: sparse description of product
    - attributes: pass as JSON key value pairs e.g. {'color':'green', 'pattern': 'striped'}

    Returns:
    
    Marketing copy that can be used for a product page.
    """
    return marketing.generate_marketing_copy(description, attributes)