Google - GenAI Product Catalog
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Marketing

Functions to generate marketing copy.

m

utils

llm

generate_marketing_copy

def generate_marketing_copy(model: m.MarketingRequest) -> m.TextValue

Given list of product IDs, join category names.

Args: model: Marketing Request

Returns: Marketing copy that can be used for a product page