def process_input(self, content: str, **kwargs) -> List[Dict[str, str]]:
        """Fill in the placeholders in the message template to form an input message list.

        Args:
            content (str): the main content for encoding.
            kwargs (dict): the optional key-value pairs that may be used for encoding.

        Returns:
            List[Dict[str, str]]: the formatted message list for LLM chat.
        """
        encoded_content, encoded_dict = self.parser.encode(content, **kwargs)
        return self.template.format(content=encoded_content, **kwargs, **encoded_dict)
Fill in the placeholders in the message template to form an input message list.

        Args:
            content (str): the main content for encoding.
            kwargs (dict): the optional key-value pairs that may be used for encoding.

        Returns:
            List[Dict[str, str]]: the formatted message list for LLM chat.
        
pikerag/prompts/protocol.py