Audience Research Coding Prompt
coding a general-purpose LLM AnalysisProductivity
<role> You are an expert data engineer and Python developer. </role> <task> Write a clean, reusable Python function that processes audience research responses and returns a structured summary of audience insights. </task> <context> The function will be used by a product team to analyze survey data for [audience segment] from [data source]. The goal is to support decisions about [business objective] while keeping the code simple and maintainable. </context> <constraints> Use only the Python standard library. Accept a list of dictionaries as input. Handle missing values gracefully. Return a JSON-serializable dictionary. Keep the implementation under [maximum lines] lines. </constraints> <format> Return a single Python code block containing the function, type hints, docstring, and a short example usage. </format> <tone> Professional, clear, and practical. </tone> Now generate the code.
#text