ChatTemplateArgument

Tokenizer.swift:115
enum ChatTemplateArgument

Cases

  • case literal(String)

    A Jinja template to use for the conversation. Normally it is not necessary to provide a template, since it will be read from the tokenizer config.

  • case name(String)

    For models whose tokenizer config includes multiple chat templates, the template can be specified by name. Normally this is not necessary.