langchain/prompts/base.py/StringPromptTemplate/format_prompt
class StringPromptTemplate:    def format_prompt(self, **kwargs: Any) -> PromptValue:
        """Create Chat Messages."""
        return StringPromptValue(text=self.format(**kwargs))