from haystack.components.builders import ChatPromptBuilder from haystack.dataclasses import ChatMessage system_message = ChatMessage.from_system( "Answer only from the supplied context." )