text: to implement our own custom output parser for bids.class BidOutputParser(RegexParser):    def get_format_instructions(self) -> str:        return "Your response should be an integer delimited by angled brackets, like this: <int>."bid_parser = BidOutputParser(    regex=r"<(\d+)>", output_keys=["bid"], default_output_key="bid")Generate bidding system messageâ€‹This is inspired by the prompt used in Generative Agents for using an LLM to determine the importance of memories. This will use the formatting instructions from our BidOutputParser.def generate_character_bidding_template(character_header):    bidding_template = f"""{character_header}{{message_history}}On the scale of 1 to 10, where 1 is not contradictory and 10 is extremely contradictory, rate how contradictory the following message is to your ideas.{{recent_message}}{bid_parser.get_format_instructions()}Do nothing else.    """    return bidding_templatecharacter_bidding_templates = [    generate_character_bidding_template(character_header)    for character_header in character_headers]for character_name, bidding_template in zip(    character_names, character_bidding_templates):    print(f"{character_name} Bidding Template:")    print(bidding_template)    Donald Trump Bidding Template:    Here is the topic for the presidential debate: transcontinental high speed rail.    The presidential candidates are: Donald Trump, Kanye West, Elizabeth Warren.    Your name is Donald Trump.    You are a presidential candidate.    Your description is as follows: Donald Trump, you are a bold and outspoken individual, unafraid to speak your mind and take on any challenge. Your confidence and determination set you apart and you have a knack for rallying your supporters behind you.    You are debating the