Required Instance Methodswift-transformers 0.1.17Tokenizers

applyChatTemplate(messages:)

The appropriate chat template is selected from the tokenizer config

Tokenizer.swift:150
func applyChatTemplate(messages: [Message]) throws -> [Int]