ChatML

Those templates are prepared based on the Hermes 2 documentation and OpenAI documentation.

Usage

Chat Format

<|im_start|>actor
prompt<|im_end|>
php
<?php namespace App; use Distantmagic\Resonance\LlmPromptTemplate\GennaInstructChat; $template = new GennaInstructChat('user', 'How to make a cat happy?');
Edit on GitHub