PromptTemplate.chatML constructor

PromptTemplate.chatML()

Implementation

factory PromptTemplate.chatML() {
  return const PromptTemplate(
    label: 'ChatML',
    promptTemplate: "<|im_start|>system\n{systemMessage}<|im_end|>\n"
        "<|im_start|>user\n{prompt}<|im_end|>\n"
        "<|im_start|>assistant",
    prompt: 'Why is the sky blue?',
    systemMessage:
        "You are a helpful assistant. Be concise and helpful. If you don't know the answer to a question, please don't share false information.",
  );
}