langchain/prompts/base.py/StringPromptValue/to_messages
class StringPromptValue:    def to_messages(self) -> List[BaseMessage]:
        """Return prompt as messages."""
        return [HumanMessage(content=self.text)]