def build_response_card(title, subtitle, options):
buttons = None<EOL>if options is not None:<EOL><INDENT>buttons = []<EOL>for i in range(min(<NUM_LIT:5>, len(options))):<EOL><INDENT>buttons.append(options[i])<EOL><DEDENT><DEDENT>return {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:version>': <NUM_LIT:1>,<EOL>'<STR_LIT>': [{<EOL>'<STR_LIT:title>': title,<EOL>'<STR_LIT>': subtitle,<EOL>'<STR_LIT>': buttons<EOL>}]<EOL>}<EOL>
Build a responseCard with a title, subtitle, and an optional set of options which should be displayed as buttons.