/// The documented Hy-MT3 prompt templates. v1 uses the Default Translation template. public enum HyMT3Prompt { /// The byte-exact Default Translation prompt from docs/HYMT3_MODEL.md ยง3. /// /// The prefix depends only on the target language; the source text is appended last so the /// Ollama prompt cache stays valid. public static func defaultTranslation(target: ModelLanguage, source: String) -> String { let prefix = "Translate the following text into \(target.modelName). " + "Note that you should **only output the translated result without any additional explanation**:" return prefix + "\n\n" + source } }