18 references to Newline
Microsoft.ML.GenAI.Phi (18)
Phi3\Phi3ChatTemplateBuilder.cs (18)
48
_ when message.GetRole() == Role.System => $"<|system|>{
Newline
}{content}<|end|>{
Newline
}",
49
_ when message.GetRole() == Role.User => $"<|user|>{
Newline
}{content}<|end|>{
Newline
}",
50
_ when message.GetRole() == Role.Assistant => $"<|assistant|>{
Newline
}{content}<|end|>{
Newline
}",
77
_ when message.Role == AuthorRole.System => $"<|system|>{
Newline
}{textContent}<|end|>{
Newline
}",
78
_ when message.Role == AuthorRole.User => $"<|user|>{
Newline
}{textContent}<|end|>{
Newline
}",
79
_ when message.Role == AuthorRole.Assistant => $"<|assistant|>{
Newline
}{textContent}<|end|>{
Newline
}",
115
_ when message.Role == ChatRole.System => $"<|system|>{
Newline
}{content}<|end|>{
Newline
}",
116
_ when message.Role == ChatRole.User => $"<|user|>{
Newline
}{content}<|end|>{
Newline
}",
117
_ when message.Role == ChatRole.Assistant => $"<|assistant|>{
Newline
}{content}<|end|>{
Newline
}",