ChatMessagePromptTemplate constructor

const ChatMessagePromptTemplate({
  1. required BasePromptTemplate prompt,
})

Base class for all message templates in a ChatPromptTemplate.

Implementation

const ChatMessagePromptTemplate({required this.prompt})
    : super(defaultOptions: const BaseLangChainOptions());